Changeset 13378
- Timestamp:
- 2006-11-29T16:58:47+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/dist-resources/dist-build.xml
r13373 r13378 185 185 </move> 186 186 187 <!-- generate modified build.xml file --> 188 <antcall target="run-xslt-binary"/> 187 189 188 190 <!-- clean up --> 189 <xslt in="${basedir}/build.xml" out="${basedir}/dist-build.xml" style="${basedir}/dist-resources/convert-build-xml.xsl"/>190 191 <delete dir="${basedir}/build"/> 191 192 <delete dir="${basedir}/lib/jni"/> … … 214 215 <!-- delete old axis dir --> 215 216 <delete dir="${packages.home}/axis"/> 217 <mkdir dir="${web.home}/applet"/> 218 <mkdir dir="${web.home}/logs"/> 219 216 220 <!-- download the mac XML parser just in case: it will only be unpacked if on a mac --> 217 221 <get src="http://www.greenstone.org/gs3files/XML-Parser.tar.gz" 218 222 dest="${gs2build.home}/perllib/cpan/XML-Parser.tar.gz" 219 223 usetimestamp="true"/> 224 225 <!-- generate modified build.xml file --> 226 <antcall target="run-xslt-source"/> 227 <!--<delete dir="${basedir}/dist-resources"/>--> 228 229 </target> 230 231 <target name="run-xslt-source" depends="init"> 220 232 <xslt in="${basedir}/build.xml" out="${basedir}/dist-build.xml" style="${basedir}/dist-resources/convert-build-xml-source.xsl"/> 221 <!--<delete dir="${basedir}/dist-resources"/>--> 222 223 </target> 224 225 <!-- this target must be run once source dist unpacked --> 226 <target name="prepare-for-source-dist" depends="init"> 227 <antcall target="unzip-windows-packages"/> 228 <!-- install tomcat compat package if necessary --> 229 <condition property="need.tomcat.compat"> 230 <equals arg1="1.4" arg2="${ant.java.version}"/> 231 </condition> 232 <antcall target="install-tomcat-compat"/> 233 <condition property="need.xml.jars"> 234 <equals arg1="1.5" arg2="${ant.java.version}"/> 235 </condition> 236 <antcall target="rename-xml-jars"/> 237 238 <!-- set gsdlhome in setup.bat --> 239 <antcall target="gs2build-edit-setup-bat"/> 240 <antcall target="prepare-web"/> 241 </target> 242 233 </target> 234 235 <target name="run-xslt-binary" depends="init"> 236 <xslt in="${basedir}/build.xml" out="${basedir}/dist-build.xml" style="${basedir}/dist-resources/convert-build-xml.xsl"/> 237 </target> 238 243 239 <target name="rename-gs2build-files-dist" depends="init,rename-gs2build-files-unix"> 244 240 <copy file="${gs2build-extra.home}/lib.win32.mak" tofile="${gs2build.home}/lib/win32.mak"/> … … 313 309 </target> 314 310 311 <!-- new targets to go in distribution build.xml files --> 312 313 <!-- new usage target for binary release --> 314 <target name="usage-for-binary-dist" description="Print a help message"> 315 <echo message=" Execute 'ant -projecthelp' for a list of targets."/> 316 <echo message=" Execute 'ant -help' for Ant help."/> 317 </target> 318 319 320 <!-- new install target for source distribution --> 321 <target name="install-for-source-dist" depends="init" description="install the source distribution. Includes configuring and compiling"> 322 <antcall target="unzip-windows-packages"/> 323 <!-- install tomcat compat package if necessary --> 324 <condition property="need.tomcat.compat"> 325 <equals arg1="1.4" arg2="${ant.java.version}"/> 326 </condition> 327 <antcall target="install-tomcat-compat"/> 328 <condition property="need.xml.jars"> 329 <equals arg1="1.5" arg2="${ant.java.version}"/> 330 </condition> 331 <antcall target="rename-xml-jars"/> 332 <antcall target="install-macos-extra"/> 333 <!-- set gsdlhome in setup.bat --> 334 <antcall target="gs2build-edit-setup-bat"/> 335 <antcall target="configure"/> 336 <antcall target="configure-c++"/> 337 <antcall target="compile"/> 338 </target> 339 315 340 </project> 316 341
Note:
See TracChangeset
for help on using the changeset viewer.