ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <ttm@online.no> wrote:

> .../JUtils/src/main/com/onrelay/collections/SingleLinkedList.java
> and
> .../JUtils/src/test/test/onrelay/collections/SingleLinkedListJUnitTest.java
> 
> 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.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message