ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <>
Subject RE: filename collisions when compiling
Date Wed, 27 Jun 2007 18:26:00 GMT
You could always mange your files ahead of compiling.  For example, you
could copy everything from the first directory into a temp directory,
then copy everything from the second directory into the temp directory
overwriting existing files, then compile from the temp directory.


-----Original Message-----
From: David Alves [] 
Sent: Wednesday, June 27, 2007 2:18 PM
To: Ant Users List
Subject: filename collisions when compiling

I have two directories of source files that I want to compile. One of
them has


the other one has


The version of A in the second directory is different from the version
in the first directory. Is there set up my javac task so that it always
takes source files from the second directory if they are present there,
but takes them from the first directory if they are not present? Thanks
in advance for your help.



David Alves

This message, including any attachments, contains confidential information intended 
for a specific individual and purpose, and is protected by law. If you are not the intended

recipient, please contact the sender immediately by reply e-mail and destroy all copies.
You are hereby notified that any disclosure, copying, or distribution of this message, or
the taking of any action based on it, is strictly prohibited.


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

View raw message