ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant 1.4.1: Javac task compiling source despite non-altered source files
Date Wed, 14 Nov 2001 09:46:06 GMT
On Wed, 14 Nov 2001, Thomas Tuft Muller <> wrote:

> .../JUtils/src/main/com/onrelay/collections/
> and
> .../JUtils/src/test/test/onrelay/collections/
> Now, my javac task is instructed to compile everything below
> .../JUtils/src, and with this setting it won't appreciate that
> classes in the target directory is newer than the
> sourcefiles.

And it shouldn't.  

If you'd use srcdir=".../JUtils/src/main:.../JUtils/src/test", this
would be different.

> However, if I use nested <src> instead of 'srcdir' then everything
> works fine.

<src> pointing to .../JUtils/src or two entries pointing to the main
and test directories respectively.

> I consider this a bug in Ant.

If <src> really works, you are right.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message