equal
deleted
inserted
replaced
118 <import file="synergy/buildmanagement.ant.xml" /> |
118 <import file="synergy/buildmanagement.ant.xml" /> |
119 <import file="ivy/dependencies.ant.xml"/> |
119 <import file="ivy/dependencies.ant.xml"/> |
120 |
120 |
121 |
121 |
122 <!-- Gets a release from network drive. --> |
122 <!-- Gets a release from network drive. --> |
123 <target name="preparation-getenv" if="base_release.path" depends="init-build-area"> |
123 <target name="preparation-getenv" if="base_release.path" depends="init-build-area,start-ant-log"> |
124 <!-- Making sure we have nothing to pass --> |
124 <!-- Making sure we have nothing to pass --> |
125 <property name="base_release.path" value=""/> |
125 <property name="base_release.path" value=""/> |
126 <property name="base_release.getenv_options" value=""/> |
126 <property name="base_release.getenv_options" value=""/> |
127 <!-- Using the cleaned version of getenv.pl --> |
127 <!-- Using the cleaned version of getenv.pl --> |
128 <!-- Defines the location of the getenv.pl script. |
128 <!-- Defines the location of the getenv.pl script. |
371 </target> |
371 </target> |
372 |
372 |
373 <propertyset id="password.list.ref"> |
373 <propertyset id="password.list.ref"> |
374 <propertyref name="ccm.password.rc" /> |
374 <propertyref name="ccm.password.rc" /> |
375 <propertyref name="ccm.user.password" /> |
375 <propertyref name="ccm.user.password" /> |
376 <propertyref name="release.grace.password" /> |
|
377 <propertyref name="unix.password" /> |
376 <propertyref name="unix.password" /> |
378 <propertyref name="release.notes.password" /> |
377 <propertyref name="release.notes.password" /> |
379 <propertyref name="nwiki.password" /> |
378 <propertyref name="nwiki.password" /> |
380 <propertyref name="noe.password" /> |
379 <propertyref name="noe.password" /> |
381 <propertyref name="ats.password" /> |
380 <propertyref name="ats.password" /> |
441 </not> |
440 </not> |
442 <then> |
441 <then> |
443 <script language="jython" setbeans="false"> |
442 <script language="jython" setbeans="false"> |
444 from java.io import * |
443 from java.io import * |
445 import time |
444 import time |
|
445 import os |
446 prep_build_dir_str = project.getProperty('prep.build.dir') |
446 prep_build_dir_str = project.getProperty('prep.build.dir') |
|
447 if prep_build_dir_str.endswith(os.sep): |
|
448 prep_build_dir_str = prep_build_dir_str[:-1] |
447 prep_build_dir = File(prep_build_dir_str) |
449 prep_build_dir = File(prep_build_dir_str) |
448 print prep_build_dir |
450 print prep_build_dir |
449 if prep_build_dir.exists(): |
451 if prep_build_dir.exists(): |
450 timestamp = time.strftime("%Y%m%d_%H%M%S", time.localtime(time.time())) |
452 timestamp = time.strftime("%Y%m%d_%H%M%S", time.localtime(time.time())) |
451 renamed_prep_build_dir = File('%s.%s' % (prep_build_dir_str, timestamp)) |
453 renamed_prep_build_dir = File('%s.%s' % (prep_build_dir_str, timestamp)) |