Changeset 17898 for release-kits/wirk3/ant-scripts/create-distribution.xml
- Timestamp:
- 2008-11-20T16:33:21+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk3/ant-scripts/create-distribution.xml
r17833 r17898 6 6 <!-- create distribution --> 7 7 <antcall target="export-greenstone3-gli" /> 8 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/distribution /greenstone3" /></antcall>9 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution /greenstone3/gli" /></antcall>8 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/distributions/web" /></antcall> 9 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli" /></antcall> 10 10 <antcall target="insert-user-manual"/> 11 11 <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk3-targets --> 12 12 13 <antcall target="copy-web-to-source -greenstone3" /> <!-- from gs3-targets -->13 <antcall target="copy-web-to-source" /> <!-- from gs3-targets --> 14 14 15 <ant target="create-distribution-1" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution /greenstone3" inheritAll="false">15 <ant target="create-distribution-1" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"> 16 16 <property name="app.version" value="${version}"/> 17 17 <property name="branch.path" value="${branch.path}"/> … … 21 21 <antcall target="insert-icon"/> 22 22 23 <ant target="create-distribution-2" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution /greenstone3" inheritAll="false">23 <ant target="create-distribution-2" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"> 24 24 <property name="app.version" value="${version}"/> 25 25 <property name="branch.path" value="${branch.path}"/> 26 26 <property name="branch.revision" value="${branch.revision}"/> 27 27 </ant> 28 <ant target="create-distribution-3" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution /greenstone3" inheritAll="false">28 <ant target="create-distribution-3" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"> 29 29 <property name="app.version" value="${version}"/> 30 30 <property name="branch.path" value="${branch.path}"/> … … 37 37 38 38 <target name="export-greenstone3-gli"> 39 <mkdir dir="distribution "/>40 <delete dir="distribution /greenstone3"/>39 <mkdir dir="distributions"/> 40 <delete dir="distributions/web"/> 41 41 <svn> 42 <export srcurl="${svn.root}/greenstone3/${branch.path}" destPath="distribution /greenstone3" revision="${branch.revision}"/>43 <export srcurl="${svn.root}/gli/${branch.path}" destPath="distribution /greenstone3/gli" revision="${branch.revision}"/>42 <export srcurl="${svn.root}/greenstone3/${branch.path}" destPath="distributions/web" revision="${branch.revision}"/> 43 <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli" revision="${branch.revision}"/> 44 44 </svn> 45 45 </target> … … 47 47 <target name="copy-over-build-xml"> 48 48 <if><bool><istrue value="${execute}"/></bool> 49 <move file="distribution /greenstone3/modified-build.xml" tofile="distribution/greenstone3/build.xml"/>49 <move file="distributions/web/modified-build.xml" tofile="distributions/web/build.xml"/> 50 50 </if> 51 51 </target> 52 52 53 53 <target name="insert-user-manual"> 54 <copy file=" greenstone3/gsdl-manuals/manuals/build/en/pdf/User_en.pdf" tofile="distribution/greenstone3/docs/manual/gs2_user_en.pdf"/>54 <copy file="compiled/gsdl-manuals/manuals/build/en/pdf/User_en.pdf" tofile="distributions/web/docs/manual/gs2_user_en.pdf"/> 55 55 </target> 56 56 57 57 <target name="insert-compiled-binaries"> 58 58 59 <delete dir="distribution /greenstone3/lib/jni"/>60 <copy todir="distribution /greenstone3/lib/jni"><fileset dir="greenstone3/lib/jni"/></copy>59 <delete dir="distributions/web/lib/jni"/> 60 <copy todir="distributions/web/lib/jni"><fileset dir="compiled/lib/jni"/></copy> 61 61 62 <delete dir="distribution /greenstone3/gs2build/bin/windows"/>63 <copy todir="distribution /greenstone3/gs2build/bin/windows"><fileset dir="greenstone3/gs2build/bin/windows"/></copy>62 <delete dir="distributions/web/gs2build/bin/windows"/> 63 <copy todir="distributions/web/gs2build/bin/windows"><fileset dir="compiled/gs2build/bin/windows"/></copy> 64 64 65 <delete dir="distribution /greenstone3/gs2build/bin/java"/>66 <copy todir="distribution /greenstone3/gs2build/bin/java"><fileset dir="greenstone3/gs2build/bin/java"/></copy>65 <delete dir="distributions/web/gs2build/bin/java"/> 66 <copy todir="distributions/web/gs2build/bin/java"><fileset dir="compiled/gs2build/bin/java"/></copy> 67 67 68 <copy todir="distribution /greenstone3/bin" file="greenstone3/bin/search4j.exe"/>68 <copy todir="distributions/web/bin" file="compiled/bin/search4j.exe"/> 69 69 </target> 70 70 … … 72 72 <copy 73 73 file="${wirk3.home}/greenstone3/icon/icon.ico" 74 tofile="distribution/greenstone3/resources/images/gs3.ico"/> 75 </target> 76 77 <target name="rename-build-xml-for-transit"> 78 <move 79 file="distribution/greenstone3/build.xml" 80 tofile="distribution/greenstone3/greenstone3-build.xml" /> 74 tofile="distributions/web/resources/images/gs3.ico"/> 81 75 </target> 82 76
Note:
See TracChangeset
for help on using the changeset viewer.