Both nested <src> paths and your suggestion with colon separated paths in srcdir works.
Again, thanks a lot for your help. -- Thomas | -----Original Message----- | From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] | Sent: 14 November 2001 09:46 | To: [EMAIL PROTECTED] | Subject: Re: Ant 1.4.1: Javac task compiling source despite non-altered | source files | | | On Wed, 14 Nov 2001, Thomas Tuft Muller <[EMAIL PROTECTED]> wrote: | | > .../JUtils/src/main/com/onrelay/collections/SingleLinkedList.java | > and | > | .../JUtils/src/test/test/onrelay/collections/SingleLinkedListJUnit | Test.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:[EMAIL PROTECTED]> | For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> | | -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>