pier 02/05/14 15:15:31
Modified: webapp build.xml
Log:
Added some "real" clean targets.
Revision Changes Path
1.12 +35 -1 jakarta-tomcat-connectors/webapp/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/build.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- build.xml 14 May 2002 22:06:20 -0000 1.11
+++ build.xml 14 May 2002 22:15:30 -0000 1.12
@@ -84,7 +84,9 @@
Clean up all we generated using ANT (and nothing more)
-->
<target
- name="clean"/>
+ name="clean"
+ description="Clean up what we built"
+ depends="compile.clean,docs.clean,javadoc.clean"/>
<!-- === COMPILATION TASKS =============================================== -->
@@ -104,6 +106,17 @@
</target>
<!--
+ Delete the generated classes and JAR file.
+ -->
+ <target
+ name="compile.clean"
+ description="Clean up the JAR file and all classes">
+ <delete file="${build.jar}"/>
+ <delete dir="${build.classes}"/>
+ </target>
+
+
+ <!--
Create the directory where classes will be compiled into, then compile
our sources, copy over all non-java files, and build up the final JAR.
-->
@@ -156,6 +169,18 @@
<fail message="Cannot find the Apache Xalan XSLT processor"/>
</target>
+ <!--
+ Delete the generated documentation
+ -->
+ <target
+ name="docs.clean"
+ description="Clean up the generated docs directory">
+ <delete dir="${build.docs}"/>
+ </target>
+
+ <!--
+ Generate documentation from the XML sources.
+ -->
<target
name="docs"
depends="docs.check"
@@ -198,6 +223,15 @@
<!-- Just output a simple warning message -->
<echo message="Cannot find Tomcat 4.0. Warnings in JavaDOC are ok"/>
+ </target>
+
+ <!--
+ Delete the generated JavaDOC output
+ -->
+ <target
+ name="javadoc.clean"
+ description="Clean up the generated javadoc directory">
+ <delete dir="${build.javadoc}"/>
</target>
<!--
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>