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

2010-09-29 Thread Michael Giroux
This worked exactly as I need. Thanks very much. Michael On Tue, Sep 28, 2010 at 2:42 PM, Dominique Devienne wrote: > 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

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

2010-09-29 Thread Michael Giroux
I'll give this a try. Thanks. On Tue, Sep 28, 2010 at 2:42 PM, Dominique Devienne wrote: > 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 d

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

2010-09-29 Thread Michael Giroux
Thanks, this gives me something to consider. On Tue, Sep 28, 2010 at 1:22 PM, David Weintraub wrote: > 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'

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

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

2010-09-27 Thread Michael Giroux
I have two source folders in my project. On folder contains files that are generated by the build, and a second folder contains our hand-coded sources. 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 corr