allpy
changeset 668:3bdcee61356d
blocks3d/www: fix log-file caused bug of building
r2w was configured to use /tmp/blocks3d-www-build.log.
It caused build error if this file has been creted by other user.
Log-file path was changed to ./output/blocks3d-www-build.log
Makefile was changed to create ./output directory before running r2w
author | boris (kodomo) <bnagaev@gmail.com> |
---|---|
date | Fri, 01 Jul 2011 10:32:37 +0400 |
parents | 78e1700f589d |
children | d6a10130b441 9792df9d3d68 |
files | blocks3d/www/Makefile blocks3d/www/r2w.ini |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/blocks3d/www/Makefile Fri Jul 01 03:22:10 2011 +0400 1.2 +++ b/blocks3d/www/Makefile Fri Jul 01 10:32:37 2011 +0400 1.3 @@ -1,5 +1,6 @@ 1.4 1.5 build: 1.6 + mkdir -p output 1.7 python ../../sequence_based_blocks_search/functional_groups_to_javascript.py > input/conservative_groups.js 1.8 r2w 1.9 python test.py > output/test.html
2.1 --- a/blocks3d/www/r2w.ini Fri Jul 01 03:22:10 2011 +0400 2.2 +++ b/blocks3d/www/r2w.ini Fri Jul 01 10:32:37 2011 +0400 2.3 @@ -1,6 +1,6 @@ 2.4 psyco = False 2.5 pause = False 2.6 -log_file = '/tmp/blocks3d-www-build.log' 2.7 +log_file = './output/blocks3d-www-build.log' 2.8 DEBUG = False 2.9 compare_directory = '' 2.10 2.11 @@ -8,3 +8,4 @@ 2.12 start_directory = 'input' 2.13 target_directory = 'output' 2.14 macros = 'macros.py' 2.15 +