Robert,

While looking at your JCL demonstration (with a delay of about a month), I noticed that the build file does not automatically create various output directories such as target, target/test-classes, target/caller-classes and target/static-classes.

Here is a patch that addresses this minor omission.

URL: http://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk/demonstration/build.xml
Revision: 164280


Index: build.xml
===================================================================
--- build.xml   (revision 164280)
+++ build.xml   (working copy)
@@ -46,15 +46,17 @@
                <pathelement location="tests.jar"/>
          </path>

-
-       <target name='clean'>
-               <delete dir='${build.home}'/>
+       <target name='init'>
                <mkdir dir='${build.home}'/>
                <mkdir dir='${bin.tests}'/>
                <mkdir dir='${bin.caller}'/>
                <mkdir dir='${bin.static}'/>
        </target>

+       <target name='clean'>
+               <delete dir='${build.home}'/>
+       </target>
+
        <target name='build-static'>
            <javac srcdir="${source}"
                   destdir="${bin.static}"
@@ -109,7 +111,7 @@
            </javadoc>
          </target>

- <target name='build' depends='build-static, build-caller, build-tests, javadoc'>
+ <target name='build' depends='init, build-static, build-caller, build-tests, javadoc'>



</target>



--
Ceki Gülcü

  The complete log4j manual: http://www.qos.ch/log4j/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to