Changeset 19406
- Timestamp:
- 2009-05-12T16:26:33+12:00 (15 years ago)
- Location:
- release-kits/wirk3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk3/ant-scripts/build.xml
r19039 r19406 33 33 34 34 <!-- THE MAIN TARGET --> 35 <target name="wirk3" depends="init ">35 <target name="wirk3" depends="init,gs3-init"> 36 36 <antcall target="compile"/> 37 37 <antcall target="create-distribution"/> … … 49 49 <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo> 50 50 <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo> 51 <echo>install.flax set to true to include flax in the distribution. Default: false.</echo> 51 52 <echo/> 52 53 </target> -
release-kits/wirk3/ant-scripts/compile.xml
r19013 r19406 4 4 <target name="compile"> 5 5 <antcall target="checkout-greenstone3" /> 6 <antcall target="generate-build-properties"/> 7 6 8 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/compiled" /></antcall> 7 9 <ant target="prepare-windows" dir="compiled" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"> … … 24 26 <checkout url="${svn.root}/greenstone3/${branch.path}" destPath="compiled" revision="${branch.revision}"/> 25 27 </svn> 28 </target> 29 30 <target name="generate-build-properties"> 31 <copy file="compiled/build.properties.in" tofile="compiled/build.properties"/> 32 <if><bool><istrue value="${install.flax}"/></bool> 33 <rsr file="compiled/build.properties" pattern="^#install.flax\s*[=:].*" replacement="install.flax=true"/> 34 </if> 26 35 </target> 27 36 … … 67 76 </exec> 68 77 </target> 69 78 70 79 </project> -
release-kits/wirk3/src/wirk3.cpp
r19006 r19406 65 65 string JAVA_HOME = getenv( "JAVA_HOME" ); 66 66 string WIRK3_HOME = getenv( "WIRK3_HOME" ); 67 putenv( ("ANT_HOME=" + WIRK3_HOME + "\\core\\ant").c_str() ); 67 68 //string PWD = getenv( "CD" ); 68 69
Note:
See TracChangeset
for help on using the changeset viewer.