Changeset 17898 for release-kits/shared/ant-scripts/init.xml
- Timestamp:
- 2008-11-20T16:33:21+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/ant-scripts/init.xml
r17881 r17898 3 3 4 4 <!-- load in static properties from build.properties --> 5 <property file=" build.properties" />5 <property file="${rk.name}-build.properties" /> 6 6 7 7 <!-- CONSTANTS (overridable in build.properties) --> … … 52 52 53 53 <!-- our classes --> 54 <fileset dir="${rk.home}/ant-scripts/tasks"> 55 <include name="**/*.jar"/> 56 </fileset> 57 58 <!-- jars in lib directory --> 59 <fileset dir="${rk.home}/lib"> 60 <include name="*.jar"/> 61 </fileset> 62 63 <!-- a few ant-installer jars --> 64 <fileset dir="${rk.home}/packages/ant-installer/lib"> 65 <include name="ant-installer-ext.jar"/> 66 <include name="ant-installer.jar"/> 54 <fileset dir="${rk.home}"> 55 <include name="ant-scripts/tasks/antelope/AntelopeTasks_3.4.2.jar"/> 56 <include name="ant-scripts/tasks/orangevolt/roxes-win32forjava-1.1.1.jar"/> 57 <include name="ant-scripts/tasks/orangevolt/orangevolt-ant-tasks-1.3.8.jar"/> 58 <include name="ant-scripts/tasks/svnant/lib/ganymed.jar"/> 59 <include name="ant-scripts/tasks/svnant/lib/svnClientAdapter.jar"/> 60 <include name="ant-scripts/tasks/svnant/lib/svnant.jar"/> 61 <include name="ant-scripts/tasks/svnant/lib/svnjavahl.jar"/> 62 <include name="ant-scripts/tasks/svnant/lib/svnkit.jar"/> 63 <include name="ant-scripts/tasks/greenstone/anttasks.jar"/> 64 <include name="ant-scripts/tasks/7z-ant/7z.jar"/> 65 <include name="lib/crypt.jar"/> 66 <include name="lib/serializer.jar"/> 67 <include name="lib/xalan.jar"/> 68 <include name="lib/xercesImpl.jar"/> 69 <include name="lib/xml-apis.jar"/> 70 <include name="packages/ant-installer/lib/ant-installer-ext.jar"/> 71 <include name="packages/ant-installer/lib/ant-installer.jar"/> 67 72 </fileset> 68 73 … … 118 123 <not><isset property="version"/></not> 119 124 </bool> 120 <fail>Version number not set</fail> 125 <fail>Version number not set. 126 Check that the file '${rk.name}-build.properties' exists and defines property 'version'.</fail> 121 127 </if> 122 128 <property name="app.version" value="${version}"/> … … 224 230 </target> 225 231 232 <!-- fork the web distribution to preserve a source release --> 226 233 <target name="copy-web-to-source"> 227 234 <copy todir="distributions/source"><fileset dir="distributions/web"/></copy> … … 415 422 </target> 416 423 424 <!-- shared target to compile the uninstaller --> 425 <target name="compile-uninstaller"> 426 <echo>Compiling Uninstaller</echo> 427 428 <!-- create working build directory --> 429 <mkdir dir="${basedir}/compiled/uninstaller/build/resources" /> 430 431 <!-- copile to build --> 432 <javac 433 srcdir="${rk.home}/uninstaller" 434 destdir="${basedir}/compiled/uninstaller/build" /> 435 436 <!-- copy language bundle into place --> 437 <native2ascii 438 implementation="sun" 439 src="${rk.home}/language-strings" 440 dest="${basedir}/compiled/uninstaller/build/resources"/> 441 442 <!-- jar it all up --> 443 <jar 444 destfile="${basedir}/compiled/uninstaller/uninst.jar" 445 manifest="${rk.home}/uninstaller/manifest.mf" 446 basedir="${basedir}/compiled/uninstaller/build" /> 447 448 </target> 449 450 <!-- copy the uninstaller from the compiled directory to web distribution --> 451 <target name="insert-uninstaller"> 452 <copy file="compiled/uninstaller/uninst.jar" todir="distributions/web" /> 453 <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" /> 454 </target> 455 456 <!-- creates the comp for the source release, works for all release kits --> 457 <target name="prepare-source-release"> 458 <delete dir="components/tmp/source-release"/> 459 <mkdir dir="components/tmp/source-release"/> 460 461 <copy todir="components/tmp/source-release" overwrite="true"> 462 <fileset dir="distributions/source"/> 463 </copy> 464 <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false"/> 465 </target> 466 417 467 </project>
Note:
See TracChangeset
for help on using the changeset viewer.