Changeset 19510 for release-kits/mark2/ant-scripts
- Timestamp:
- 2009-05-18T15:36:40+12:00 (15 years ago)
- Location:
- release-kits/mark2/ant-scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/mark2/ant-scripts/create-installer.xml
r19006 r19510 6 6 <antcall target="make-installer-files-concrete"/> <!-- from init --> 7 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile- minimal-installer"/> <!-- from init -->8 <antcall target="compile-cdrom-installer"/> <!-- from init --> 9 9 </target> 10 10 -
release-kits/mark2/ant-scripts/wrap.xml
r19460 r19510 3 3 4 4 <target name="wrap"> 5 6 <!-- create products directory --> 7 <mkdir dir="products"/> 8 5 9 <!-- create and setup the build directory --> 6 10 <delete dir="${basedir}/wrapped-installer"/> 7 11 <mkdir dir="${basedir}/wrapped-installer"/> 8 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app"><fileset dir="${mark2.home}/mac/Wrapper.app"/></copy>9 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Resources" file="${mark2.home}/greenstone2/icon/icon.icns"/>10 <chmod file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/MacOS/JavaApplicationStub" perm="ug+x"/>11 12 12 <!-- copy bundled files --> 13 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Resources/Java" file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"/> 13 <!-- create app for main installer --> 14 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app"><fileset dir="${mark2.home}/mac/Wrapper.app"/></copy> 15 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Resources" file="${mark2.home}/greenstone2/icon/icon.icns"/> 16 <chmod file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/MacOS/JavaApplicationStub" perm="ug+x"/> 14 17 15 <!-- substitute in real values --> 16 <rsr file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Info.plist" pattern="@jar@" replacement="Greenstone-${version}-MacOS-${processor}.jar"/> 17 <rsr file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Info.plist" pattern="@version@" replacement="${version}"/> 18 <!-- copy bundled files --> 19 <copy todir="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Resources/Java" file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"/> 20 21 <!-- substitute in real values --> 22 <rsr file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Info.plist" pattern="@jar@" replacement="Greenstone-${version}-MacOS-${processor}.jar"/> 23 <rsr file="${basedir}/wrapped-installer/Greenstone${version}.app/Contents/Info.plist" pattern="@version@" replacement="${version}"/> 24 25 26 <!-- create app for cdrom installer --> 27 <copy todir="${basedir}/products/cdrom.app"><fileset dir="${mark2.home}/mac/Wrapper.app"/></copy> 28 <copy todir="${basedir}/products/cdrom.app/Contents/Resources" file="${mark2.home}/greenstone2/icon/icon.icns"/> 29 <chmod file="${basedir}/products/cdrom.app/Contents/MacOS/JavaApplicationStub" perm="ug+x"/> 30 31 <!-- copy bundled files --> 32 <copy todir="${basedir}/products/cdrom.app/Contents/Resources/Java" file="${basedir}/installer/cdrom.jar"/> 33 34 <!-- substitute in real values --> 35 <rsr file="${basedir}/products/cdrom.app/Contents/Info.plist" pattern="@jar@" replacement="cdrom.jar"/> 36 <rsr file="${basedir}/products/cdrom.app/Contents/Info.plist" pattern="@version@" replacement="${version}"/> 37 38 <!-- wrap main app in a dmg --> 18 39 19 40 <!-- get size of app --> … … 25 46 <echo>dmg.size: ${dmg.size}</echo> 26 47 27 <!-- create products directory -->28 <mkdir dir="products"/>29 48 30 49 <!-- create disk image -->
Note:
See TracChangeset
for help on using the changeset viewer.