Changeset 21521
- Timestamp:
- 2010-01-19T12:01:16+13:00 (13 years ago)
- Location:
- main/trunk/release-kits
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml
r21394 r21521 194 194 195 195 <target name="compile-c-code"> 196 <copy file="${rk.home}/kits/rk2/resources/compile.bat" todir="${basedir}/compiled" overwrite="true"/>197 196 <exec dir="${basedir}/compiled" executable="nmake"><arg value="/f"/><arg value="win32.mak"/><arg value="clean"/></exec> 198 197 <exec dir="${basedir}/compiled" executable="nmake"><arg value="/f"/><arg value="win32.mak"/><arg value="APACHE_HTTPD=1"/></exec> -
main/trunk/release-kits/kits/rk2/ant-scripts/create-cdrom-components.xml
r21394 r21521 8 8 --> 9 9 10 <target name="create-cdrom-components" >10 <target name="create-cdrom-components" depends="init,gs2-init"> 11 11 <antcall target="compile-cdrom-installer"/> <!-- from init --> 12 12 <antcall target="prepare-cdrom-components"/> … … 32 32 <!-- core linux --> 33 33 <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool> 34 <copy todir="cdrom/dist/Software/core/all" overwrite="true"> 35 <fileset dir="components/tmp/core"/> 36 </copy> 34 <unzip src="components/core.comp" dest="cdrom/dist/Software/core/all" overwrite="true"/> 37 35 <move todir="cdrom/dist/Software/core/linux" overwrite="true"> 38 36 <fileset dir="cdrom/dist/Software/core/all"> … … 54 52 <!-- core windows --> 55 53 <else><if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 56 < copy todir="cdrom/dist/Software/core/windows" overwrite="true">57 < fileset dir="components/tmp/core">54 <unzip src="components/core.comp" dest="cdrom/dist/Software/core/windows" overwrite="true"> 55 <patternset> 58 56 <include name="bin/windows"/> 59 57 <include name="server.exe"/> … … 63 61 <include name="*.bat"/> 64 62 <include name="gli/*.bat"/> 65 </ fileset>66 </ copy>63 </patternset> 64 </unzip> 67 65 68 66 <!-- core mac --> 69 67 <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool> 70 < copy todir="cdrom/dist/Software/core/mac" overwrite="true">71 < fileset dir="components/tmp/core">68 <unzip src="components/core.comp" dest="cdrom/dist/Software/core/mac" overwrite="true"> 69 <patternset> 72 70 <include name="bin/darwin"/> 73 71 <include name="bin/darwin/**/*"/> … … 81 79 <include name="*.csh"/> 82 80 <include name="*.bash"/> 83 </ fileset>84 </ copy>81 </patternset> 82 </unzip> 85 83 <!-- delete the httpd manual to save space --> 86 84 <delete dir="cdrom/dist/Software/core/mac/apache-httpd/darwin/manual"/> … … 90 88 <!-- imagemagick --> 91 89 <mkdir dir="cdrom/dist/Software/imagemagick/${rk.os}"/> 92 <copy todir="cdrom/dist/Software/imagemagick/${rk.os}" overwrite="true"> 93 <fileset dir="components/tmp/imagemagick"/> 94 </copy> 90 <unzip src="components/imagemagick.comp" dest="cdrom/dist/Software/imagemagick/${rk.os}" overwrite="true"/> 95 91 96 92 <!-- ghostscript: windows and mac only --> 97 93 <if><bool><or><equals arg1="${rk.os}" arg2="windows"/><equals arg1="${rk.os}" arg2="mac"/></or></bool> 98 94 <mkdir dir="cdrom/dist/Software/ghostscript/${rk.os}"/> 99 <copy todir="cdrom/dist/Software/ghostscript/${rk.os}" overwrite="true"> 100 <fileset dir="components/tmp/ghostscript"/> 101 </copy> 95 <unzip src="components/ghostscript.comp" dest="cdrom/dist/Software/ghostscript/${rk.os}" overwrite="true"/> 102 96 </if> 103 97 … … 133 127 <!-- windows --> 134 128 <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 135 <antcall target="get-copy-of-wrapper-source"><param name="todir" value="cdrom/build"/></antcall> 129 <copy todir="cdrom/build" overwrite="true"> 130 <fileset dir="${rk.home}/shared/windows/wrapper"/> 131 <fileset dir="${rk.home}/shared/greenstone2/wrapper" includes="*.bmp"/> 132 <fileset dir="${rk.home}/shared/greenstone2/icon" includes="icon.ico"/> 133 <fileset dir="${rk.home}/shared/core/search4j" includes="libsearch4j.cpp,libsearch4j.h"/> 134 </copy> 136 135 <exec executable="rc" dir="cdrom/build"> 137 136 <arg line="wrapper.rc"/> -
main/trunk/release-kits/kits/rk2/ant-scripts/create-distribution.xml
r21394 r21521 59 59 60 60 </target> 61 62 <target name="copy-server"> 63 <copy file="distributions/web/bin/windows/server.exe" tofile="distributions/web/server.exe"/> 64 </target> 61 65 62 66 <target name="export-imagemagick-linux-binaries"> -
main/trunk/release-kits/shared/core/ant-scripts/init.xml
r21388 r21521 24 24 <property name="basedir.local" refid="basedir.path"/> 25 25 26 <!-- size of resource chunks (wrapper) --> 27 <property name="resources.chunksize" value="8388608"/> 28 26 29 <!-- current date and time --> 27 30 <tstamp> … … 232 235 installConfig="installer/antinstall-config-cdrom.xml" 233 236 buildFile="installer/build-cdrom.xml" 234 antInstallLib="${rk.home}/ core/ant-installer/lib"237 antInstallLib="${rk.home}/shared/core/ant-installer/lib" 235 238 antLib="${ant.home}/lib" 236 239 validateConfig="true" … … 373 376 <mkdir dir="${todir}"/> 374 377 <delete dir="${todir}/perl"/> 375 <unzip src="${rk.home}/ windows/perl.zip" dest="${todir}"/>378 <unzip src="${rk.home}/shared/windows/perl.zip" dest="${todir}"/> 376 379 </target> 377 380 … … 497 500 <!-- windows --> 498 501 <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 499 <exec executable="${rk.home}/ windows/7za/7za.exe" dir="components"><arg line="a -t7z -mx=9 ${component}.lzma ${component}.comp"/></exec>502 <exec executable="${rk.home}/shared/windows/7za/7za.exe" dir="components"><arg line="a -t7z -mx=9 ${component}.lzma ${component}.comp"/></exec> 500 503 501 504 <!-- linux, mac -->
Note:
See TracChangeset
for help on using the changeset viewer.