ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tuft Muller" <...@online.no>
Subject RE: Ant 1.4.1: Javac task compiling source despite non-altered source files
Date Wed, 14 Nov 2001 10:00:04 GMT
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:bodewig@apache.org]
| Sent: 14 November 2001 09:46
| To: ant-user@jakarta.apache.org
| Subject: Re: Ant 1.4.1: Javac task compiling source despite non-altered
| source files
|
|
| 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/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:ant-user-unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|
|


--
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