[15023] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 |
|
---|
| 3 | <!--
|
---|
| 4 | ..........................................................
|
---|
| 5 | September 2007
|
---|
| 6 | Greenstone3 'release maker' script
|
---|
| 7 | Oran Fry
|
---|
| 8 | ..........................................................
|
---|
| 9 | -->
|
---|
| 10 |
|
---|
| 11 | <project name="wirk3-create-installer" default="create-installer">
|
---|
| 12 |
|
---|
| 13 | <target name="create-installer">
|
---|
| 14 | <if><bool><istrue value="${execute}"/></bool>
|
---|
| 15 |
|
---|
| 16 | <echo>Project Path: ${project.path}</echo>
|
---|
| 17 | <mkdir dir="${basedir}/installer"/>
|
---|
| 18 | <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/>
|
---|
| 19 | <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/>
|
---|
| 20 |
|
---|
| 21 | <installer file="${basedir}/installer/greenstone-${version}-win32.jar"
|
---|
| 22 | compress="true"
|
---|
| 23 | extractType="NonExtractor"
|
---|
| 24 | installConfig="${basedir}/installer/antinstall-config.xml"
|
---|
| 25 | buildFile="${project.installer.path}/build.xml"
|
---|
| 26 | antInstallLib="${ant.installer.home}/lib"
|
---|
| 27 | antLib="${ant.installer.home}/antlib"
|
---|
| 28 | validateConfig="true"
|
---|
| 29 | icons="bluecurve">
|
---|
| 30 |
|
---|
| 31 | <zipfileset dir="${project.installer.path}/cp" includes="resources/*"/>
|
---|
| 32 | <zipfileset dir="${wirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset>
|
---|
| 33 |
|
---|
| 34 | <zipfileset dir="${project.path}" includes="*"/>
|
---|
| 35 | <zipfileset dir="${project.path}/bin" prefix="bin"><include name="**/*"/></zipfileset>
|
---|
| 36 | <zipfileset dir="${project.path}/docs" prefix="docs"><include name="**/*"/></zipfileset>
|
---|
| 37 | <zipfileset dir="${project.path}/gli" prefix="gli"><include name="**/*"/></zipfileset>
|
---|
| 38 | <zipfileset dir="${project.path}/gs2build" prefix="gs2build"><include name="**/*"/></zipfileset>
|
---|
| 39 | <zipfileset dir="${project.path}/lib" prefix="lib"><include name="**/*"/></zipfileset>
|
---|
| 40 | <zipfileset dir="${project.path}/web" prefix="web"><include name="**/*"/></zipfileset>
|
---|
| 41 | <zipfileset dir="${project.path}/packages" prefix="packages"><include name="**/*"/></zipfileset>
|
---|
| 42 | <zipfileset dir="${project.path}/resources" prefix="resources"><include name="**/*"/></zipfileset>
|
---|
| 43 | <zipfileset dir="${project.path}/winutil" prefix="winutil"><include name="**/*"/></zipfileset>
|
---|
| 44 | <zipfileset dir="${project.path}/src" prefix="src"><include name="**/*"/></zipfileset>
|
---|
| 45 | </installer>
|
---|
| 46 |
|
---|
| 47 | </if>
|
---|
| 48 | </target>
|
---|
| 49 |
|
---|
| 50 | </project>
|
---|