donaldp 02/04/23 22:15:40
Modified: all build.xml
Log:
Update build file so that it does not try to compile src/java that no longer
exists.
Revision Changes Path
1.146 +2 -74 jakarta-avalon-excalibur/all/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.xml,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- build.xml 22 Apr 2002 11:20:38 -0000 1.145
+++ build.xml 24 Apr 2002 05:15:40 -0000 1.146
@@ -112,8 +112,6 @@
<property name="src.dist.tools" value="${src.dist.dir}/tools"/>
</target>
-
-
<!-- Checks the environment for existing resources -->
<target name="check-environment">
<available property="log4j.present"
classname="org.apache.log4j.Category">
@@ -182,56 +180,9 @@
<ant antfile="${depchecker.prefix}/depchecker.xml"
target="checkTestcase"/>
</target>
-
- <target name="compile" depends="compile-main, compile-scratchpad"
description="Compiles the source code"/>
-
- <!-- Compiles the source code -->
- <target name="compile-main" depends="prepare, dependencies,
check-environment">
-
- <mkdir dir="${build.classes}"/>
-
- <!--
- <copy todir="${build.classes}">
- <fileset dir="${test.dir}">
- <include name="**/test/**"/>
- <exclude name="**/test/*.java"/>
- </fileset>
- </copy>
- -->
-
- <!--
- <depend closure="yes"
- cache="${dep}"
- srcdir="${java.dir}"
- destdir="${build.classes}" />
- -->
+ <target name="compile" depends="compile-scratchpad"
description="Compiles the source code"/>
<!-- Compile all classes excluding the tests. They are compiled in
their own task -->
- <javac srcdir="${java.dir}"
- destdir="${build.classes}"
- debug="${build.debug}"
- optimize="${build.optimize}"
- deprecation="${build.deprecation}"
- target="1.2">
- <classpath refid="project.class.path" />
- <exclude name="**/test/**"/>
- <exclude name="**/Log4J*"
- unless="log4j.present"/>
- <exclude name="**/Jaxen*"
- unless="jaxen.present"/>
- <exclude
name="org/apache/avalon/excalibur/xml/xpath/XPathProcessorImpl.java"
- unless="xpath.present"/>
- <exclude
name="org/apache/avalon/excalibur/logger/factory/ServletTargetFactory.java"
- unless="servlet.present"/>
- <exclude
name="org/apache/avalon/excalibur/logger/factory/JMSTargetFactory.java"
- unless="jms.present"/>
- <exclude
name="org/apache/avalon/excalibur/logger/factory/JDBCTargetFactory.java"
- unless="datasource.present"/>
- <exclude
name="org/apache/avalon/excalibur/xml/xpath/JaxenProcessorImpl.java"
- unless="jaxen.present"/>
- </javac>
- </target>
-
<target name="compile-scratchpad" depends="prepare, dependencies">
<mkdir dir="${build.classes}"/>
@@ -392,29 +343,6 @@
</target>
<!-- Create the API documentation in build directory -->
- <target name="javadocs-main">
- <delete dir="${build.javadocs}"/>
- <mkdir dir="${build.javadocs}"/>
-
- <javadoc packagenames="org.apache.*"
- sourcepath="${java.dir}"
- destdir="${build.javadocs}">
- <classpath refid="project.class.path" />
- <doclet name="com.sun.tools.doclets.standard.Standard">
- <param name="-author"/>
- <param name="-version"/>
- <param name="-doctitle" value="${Name}"/>
- <param name="-windowtitle" value="${Name} API"/>
- <param name="-link"
value="http://java.sun.com/j2se/1.4/docs/api/"/>
- <param name="-link"
value="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
- <param name="-link"
value="http://jakarta.apache.org/avalon/api/"/>
- <param name="-bottom"
- value=""Copyright © 2001 Apache Jakarta
Project. All Rights Reserved.""/>
- </doclet>
- </javadoc>
-
- </target>
-
<target name="javadocs-scratchpad">
<delete dir="${build.javadocs-scratchpad}"/>
<mkdir dir="${build.javadocs-scratchpad}"/>
@@ -437,7 +365,7 @@
</doclet>
</javadoc>
</target>
- <target name="javadocs" depends="javadocs-main, javadocs-scratchpad"
description="generates the API documentation"/>
+ <target name="javadocs" depends="javadocs-scratchpad"
description="generates the API documentation"/>
<!-- Create the API documentation in doc/api directory -->
<target name="local-javadocs" depends="javadocs">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>