You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ceki Gülcü <li...@qos.ch> on 2005/05/18 16:14:37 UTC
[logging] PATCH to JCL demonstration
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [logging] PATCH to JCL demonstration
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
applied. many thanks.
- robert
On Wed, 2005-05-18 at 16:14 +0200, Ceki Gülcü wrote:
> 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>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org