You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ps...@apache.org on 2006/02/23 22:49:51 UTC
svn commit: r380234 - /logging/chainsaw/trunk/build.xml
Author: psmith
Date: Thu Feb 23 13:49:49 2006
New Revision: 380234
URL: http://svn.apache.org/viewcvs?rev=380234&view=rev
Log:
Bit of a hack for gump. The log4j main source code is not available during
a gump run, so I have set a 'gump' flag in the chainsaw gump run, which disables
generation of the JavaDoc for ALL receivers.
That's all I can think of doing for now, ideas appreciated.
Modified:
logging/chainsaw/trunk/build.xml
Modified: logging/chainsaw/trunk/build.xml
URL: http://svn.apache.org/viewcvs/logging/chainsaw/trunk/build.xml?rev=380234&r1=380233&r2=380234&view=diff
==============================================================================
--- logging/chainsaw/trunk/build.xml (original)
+++ logging/chainsaw/trunk/build.xml Thu Feb 23 13:49:49 2006
@@ -163,10 +163,35 @@
</java>
</target>
- <!-- ================================================================= -->
+
+ <!-- this target can't be run in Gump mode, because the external project won't be available -->
+ <target name="javaDocLog4jReceivers" unless="gump">
+
+ <!-- JavaDoc up some Receiver and other stuff we want to be able to ship with Chainsaw-->
+ <javadoc sourcepath="${java.source.dir}"
+ destdir="${javac.dest}"
+ version="true"
+ author="true"
+ use="true"
+ doctitle="log4j version ${version}<br>API Specification"
+ windowtitle="Log4j Version ${version}"
+ header="<b>Log4j ${version}</b>"
+ bottom="Copyright 2000-2003 Apache Software Foundation."
+ >
+ <fileset dir="src/" defaultexcludes="yes">
+ <include name="**/*Receiver.java" />
+ </fileset>
+ <fileset dir="${log4j.src}/src/" defaultexcludes="yes">
+ <include name="**/*Receiver.java" />
+ </fileset>
+ <classpath refid="compile.classpath"/>
+ </javadoc>
+ </target>
+
+ <!-- ================================================================= -->
<!-- Create log4j-chainsaw.jar, excluding everything else -->
<!-- ================================================================= -->
- <target name="chainsaw.jar" depends="build.chainsaw, BuildZeroConfJar">
+ <target name="chainsaw.jar" depends="build.chainsaw, BuildZeroConfJar, javaDocLog4jReceivers">
<delete>
<fileset dir="${jar.dest}">
<include name="${log4j-chainsaw.jar}"/>
@@ -176,27 +201,6 @@
<copy todir="${javac.dest}">
<fileset dir="src/java" includes="**/chainsaw/**/*"/>
</copy>
-
- <!-- JavaDoc up some Receiver and other stuff we want to be able to ship with Chainsaw-->
- <javadoc sourcepath="${java.source.dir}"
- destdir="${javac.dest}"
- version="true"
- author="true"
- use="true"
- doctitle="log4j version ${version}<br>API Specification"
- windowtitle="Log4j Version ${version}"
- header="<b>Log4j ${version}</b>"
- bottom="Copyright 2000-2003 Apache Software Foundation."
- >
- <fileset dir="src/" defaultexcludes="yes">
- <include name="**/*Receiver.java" />
- </fileset>
- <fileset dir="${log4j.src}/src/" defaultexcludes="yes">
- <include name="**/*Receiver.java" />
- </fileset>
- <classpath refid="compile.classpath"/>
-
- </javadoc>
<jar jarfile="${jar.dest}/${log4j-chainsaw.jar}" basedir="${javac.dest}"
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org