You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Arnout Kuiper <aj...@planet.nl> on 2000/02/28 12:47:43 UTC
[PATCH] Ant compatibility fix
Hi,
To stay compatible with Ant, the following fix should be done, because no
tasks are allowed on the root level anymore. Can somebody with enough Karma
do this for me?
Cheers,
Arnout
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat/build.xml,v
retrieving revision 1.35
diff -u -r1.35 build.xml
--- build.xml 2000/02/24 23:01:23 1.35
+++ build.xml 2000/02/28 11:35:15
@@ -1,13 +1,15 @@
<project name="Tomcat" default="main" basedir=".">
- <property name="ant.home" value="../jakarta-ant"/>
- <property name="build.compiler" value="classic"/>
- <property name="tomcat.build" value="../build/tomcat"/>
- <property name="tomcat.home" value="../dist/tomcat"/>
+ <target name="init">
+ <property name="ant.home" value="../jakarta-ant"/>
+ <property name="build.compiler" value="classic"/>
+ <property name="tomcat.build" value="../build/tomcat"/>
+ <property name="tomcat.home" value="../dist/tomcat"/>
+ </target>
<!-- ==================== Copy static files ==================== -->
<!-- IF YOU CHANGE, sync dist.prepare !!! -->
- <target name="prepare">
+ <target name="prepare" depends="init">
<mkdir dir="src/doc"/> <!-- Temp change until dir is not empty -->
<mkdir dir="${tomcat.build}"/>
<mkdir dir="${tomcat.build}/classes"/>
@@ -158,7 +160,7 @@
<!-- ==================== Admin ==================== -->
- <target name="clean">
+ <target name="clean" depends="init">
<deltree dir="${tomcat.build}"/>
<deltree dir="${tomcat.home}"/>
</target>
Another [PATCH] Ant compatibility fix
Posted by Kevin Jones <ke...@develop.com>.
<!-- include ant, it is used for testing and will be used for
configuration and few other tasks -->
- <copydir src="${ant.home}/src/bin" dest="${tomcat.build}/bin"/>
should be
<!-- include ant, it is used for testing and will be used for
configuration and few other tasks -->
+ <copydir src="${ant.home}/bin" dest="${tomcat.build}/bin"/>
I think
Kevin Jones
DevelopMentor