You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/12/02 12:45:38 UTC
DO NOT REPLY [Bug 25097] -
Depend does not work when different source dirs are compiled to same destination
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25097>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25097
Depend does not work when different source dirs are compiled to same destination
bodewig@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From bodewig@apache.org 2003-12-02 11:45 -------
Your first invocation doesn't tell <depend> where to find the B sources, your
second doesn't tell it where to find the A sources - so there is no way for
the task to (1) find the source or (2) determine the timestamp of A.java (and thus
the task doesn't know that A.class is out of date).
This here should work
<depend srcdir="src_a:src_b" destdir="bin"
closure="true"/>
srcdir is a PATH and can take multiple source directories.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org