Changeset 15356 for release-kits/wirk3/ant-scripts
- Timestamp:
- 2008-05-07T15:58:52+12:00 (16 years ago)
- Location:
- release-kits/wirk3/ant-scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk3/ant-scripts/create-installer.xml
r15053 r15356 19 19 <target name="setup-for-installer-creation"> 20 20 <if><bool><istrue value="${execute}"/></bool> 21 21 22 22 <echo>Project Path: ${project.path}</echo> 23 23 <mkdir dir="${basedir}/installer"/> 24 24 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/> 25 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml"/> 26 <copy todir="${basedir}/installer/cp"><fileset dir="${wirk3.home}/installer/cp"/></copy> 27 28 <!-- put the concrete values of things in the config --> 25 29 <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/> 30 <rsr file="${basedir}/installer/build.xml" pattern="@version@" replacement="${version}"/> 31 32 <!-- put the concrete values of things in the text --> 33 <!-- default --> 34 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/> 35 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/> 36 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/> 37 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/> 38 <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/> 39 40 <!-- chinese --> 41 <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@version@" replacement="${version}"/> 42 <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@java.min.version@" replacement="${java.min.version}"/> 43 <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/> 44 <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/> 45 <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/> 46 26 47 27 48 </if> … … 31 52 <if><bool><istrue value="${execute}"/></bool> 32 53 54 <taskdef name="installer" classname="org.tp23.antinstaller.taskdefs.Installer" classpathref="project.classpath"/> 55 33 56 <installer file="${basedir}/installer/greenstone-${version}-win32.jar" 34 57 compress="true" … … 41 64 icons="bluecurve"> 42 65 43 <zipfileset dir="${ project.installer.path}/cp" includes="resources/*"/>66 <zipfileset dir="${basedir}/installer/cp" includes="resources/*"/> 44 67 <zipfileset dir="${wirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset> 45 68 … … 55 78 <zipfileset dir="${project.path}/winutil" prefix="winutil"><include name="**/*"/></zipfileset> 56 79 <zipfileset dir="${project.path}/src" prefix="src"><include name="**/*"/></zipfileset> 80 57 81 </installer> 82 58 83 59 84 </if> -
release-kits/wirk3/ant-scripts/init.xml
r15181 r15356 24 24 <!-- antinstaller --> 25 25 <pathelement path="${wirk3.home}/bin/ant-installer/lib/ant-installer-ext.jar"/> 26 <pathelement path="${wirk3.home}/bin/ant-installer/lib/ant-installer.jar"/> 26 27 27 28 </path> … … 41 42 <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="project.classpath"/> 42 43 <taskdef name="setloglevel" classname="SetLogLevel" classpathref="project.classpath"/> 43 <taskdef name="installer" classname="org.tp23.antinstaller.taskdefs.Installer" classpathref="project.classpath"/>44 45 44 <typedef name="addressedcall" classname="TreeCallTarget" classpathref="project.classpath"/> 46 45 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> … … 49 48 <!-- load in static properties from build.properties --> 50 49 <property file="build.properties" /> 50 51 <!-- the version numbers of bundled things --> 52 <property name="bundled.version.java" value="1.6.0_05"/> 53 <property name="bundled.version.tomcat" value="5.5.25"/> 54 <property name="bundled.version.ant" value="1.6.5"/> 51 55 52 56 <!-- project details (for ant-installer) -->
Note:
See TracChangeset
for help on using the changeset viewer.