Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-28 Thread Dominique Devienne
On Mon, Sep 27, 2010 at 3:32 PM, Michael Giroux wrote: > [...] If cases where package and class names are the > same, we only want to include the sources from the hand-coded src > tree, so we need to delete corresponding files from the generated src > folder. [...] See http://ant.apache.org/manua

Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-28 Thread David Weintraub
Not 100% sure what you're asking. Let me get a synopsis: 1. You have two "source" folders: One contains "generated" *.java files. (I'm assuming *.java). The other contains *.java that you've coded. 2. When you compile, you want the files in the "hand coded" *.java files to be used instead of the o

conditional global variables?

2010-09-28 Thread Heath, Graham
On Sep 26, 2010, at 8:23 AM, Marina wrote: > Hello! > In essence, I would like to know how to define a global property > conditionally, and then have it available to all build files via . > What I do is supply a -Dtarget=Debug or Release via the commandline which causes a build.properties file t