Changeset 15967 for release-kits/lirk3/ant-scripts/create-installer.xml
- Timestamp:
- 2008-06-12T13:33:05+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/create-installer.xml
r15304 r15967 20 20 <if><bool><istrue value="${execute}"/></bool> 21 21 22 <!-- get the size of packages --> 23 <exec executable="du" dir="${basedir}/distribution/greenstone3/packages" outputproperty="du.tomcat"><arg line="-hs tomcat"/></exec> 24 <exec executable="sed" inputstring="${du.tomcat}" outputproperty="component.size.tomcat"><arg line="-e 's/^\(.*\)\s.*$/\1b/g'"/></exec> 25 26 <exec executable="du" dir="${basedir}/distribution/greenstone3/packages" outputproperty="du.ant"><arg line="-hs ant"/></exec> 27 <exec executable="sed" inputstring="${du.ant}" outputproperty="component.size.ant"><arg line="-e 's/^\(.*\)\s.*$/\1b/g'"/></exec> 28 22 29 <echo>Project Path: ${basedir}/distribution/greenstone3</echo> 23 30 <mkdir dir="${basedir}/installer"/> … … 28 35 <!-- put the concrete values of things in the config --> 29 36 <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/> 37 <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.java@" replacement="${component.size.java}"/> 38 <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.tomcat@" replacement="${component.size.tomcat}"/> 39 <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.ant@" replacement="${component.size.ant}"/> 40 30 41 <rsr file="${basedir}/installer/build.xml" pattern="@java.min.version@" replacement="${java.min.version}"/> 31 42 <rsr file="${basedir}/installer/build.xml" pattern="@java.extracted@" replacement="${java.extracted}"/> … … 33 44 34 45 <!-- put the concrete values of things in the text --> 46 35 47 <!-- default --> 36 48 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/> … … 95 107 icons="bluecurve"> 96 108 97 <!-- copy all the important files into the archive to be extracted for install -->98 109 <zipfileset dir="${basedir}/installer/cp" includes="resources/*"/> 99 110 <zipfileset dir="${lirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset> … … 110 121 <zipfileset dir="${basedir}/distribution/greenstone3/src" prefix="src"><include name="**/*"/></zipfileset> 111 122 </installer> 112 113 123 </if> 114 124 </target>
Note:
See TracChangeset
for help on using the changeset viewer.