Changeset 17396 for release-kits/lirk2/ant-scripts
- Timestamp:
- 2008-09-26T17:37:32+12:00 (16 years ago)
- Location:
- release-kits/lirk2/ant-scripts
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/build.xml
r17316 r17396 16 16 <property name="rk.os" value="linux" /> 17 17 18 <property name="bundled.version.ghostscript" value=""/> 19 <property name="bundled.version.imagemagick" value=""/> 20 18 21 <!-- IMPORT OTHER ANT SCRIPTS --> 19 22 <import file="shared-ant-scripts/init.xml"/> … … 22 25 <import file="compile.xml"/> 23 26 <import file="create-distribution.xml"/> 27 <import file="create-components.xml"/> 24 28 <import file="create-installer.xml"/> 25 29 <import file="wrap.xml"/> … … 29 33 <antcall target="compile"/> 30 34 <antcall target="create-distribution"/> 35 <antcall target="create-components"/> 31 36 <antcall target="create-installer"/> 32 37 <antcall target="wrap"/> -
release-kits/lirk2/ant-scripts/create-installer.xml
r17352 r17396 15 15 <copy todir="${basedir}/installer/classes" overwrite="true"> 16 16 <fileset dir="${lirk2.home}/greenstone2/installer-classes"/> 17 <fileset file="${basedir}/distributions/web/LICENSE.txt"/> 17 18 </copy> 19 18 20 <unjar src="${lirk2.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/> 19 21 <delete dir="${basedir}/installer/classes/META-INF"/> 22 23 <unjar src="${lirk2.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/> 24 <delete dir="${basedir}/installer/classes/META-INF"/> 25 20 26 <unjar src="${lirk2.home}/lib/crypt.jar" dest="${basedir}/installer/classes"/> 21 27 <delete dir="${basedir}/installer/classes/META-INF"/> … … 24 30 <target name="compile-installer"> 25 31 26 <!-- create the installer with java-->32 <!-- create the full installer --> 27 33 <installer file="${basedir}/installer/Greenstone-${version}-linux.jar" 28 34 compress="true" … … 37 43 38 44 <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> 39 <zipfileset dir="${basedir}/ distributions/web" includes="**/*"/>45 <zipfileset dir="${basedir}/components" includes="*.lzma"/> 40 46 41 47 </installer> 48 49 <dcff 50 file="${basedir}/installer/antinstall-config.xml" 51 startTag=".*<!-- start full -->" 52 endTag=".*<!-- end full -->"/> 53 54 <!-- create the minimal installer --> 55 <installer file="${basedir}/installer/Greenstone-${version}-linux-minimal.jar" 56 compress="true" 57 extractType="NonExtractor" 58 installConfig="${basedir}/installer/antinstall-config.xml" 59 buildFile="${basedir}/installer/build.xml" 60 antInstallLib="${lirk2.home}/packages/ant-installer/lib" 61 antLib="${lirk2.home}/packages/ant/lib" 62 validateConfig="true" 63 failOnError="false" 64 icons="bluecurve"> 65 66 <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> 67 <zipfileset dir="${basedir}/components" includes="core.lzma"/> 68 69 </installer> 70 42 71 43 72 </target> -
release-kits/lirk2/ant-scripts/wrap.xml
r17352 r17396 49 49 <exec executable="sed" inputstring="${java.ls}" outputproperty="java.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec> 50 50 51 <echo level="info">compile the wrapper program</echo>52 <exec executable="g++" dir="${basedir}/wrapped-installer/build">53 <arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/>54 </exec>55 56 51 <echo level="info">compile libsearch4j</echo> 57 52 <exec executable="g++" dir="${basedir}/wrapped-installer/build"> … … 65 60 <exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h" append="true"><arg line="#define java_is_bundled yes"/></exec> 66 61 62 <echo level="info">compile the wrapper program</echo> 63 <exec executable="g++" dir="${basedir}/wrapped-installer/build"> 64 <arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/> 65 </exec> 66 67 67 <echo level="info">link the compiled code and bundled files</echo> 68 68 <exec executable="g++" dir="${basedir}/wrapped-installer/build">
Note:
See TracChangeset
for help on using the changeset viewer.