>>>you could try :
>>>
>>><javac>
>>>    <src path="."/>
>>>    <include name="foo/a.java"/>
>>>    <include name="bar/b.java"/>
>>> </javac>
>>>
>>Romain - that would work.  However I should have explained that I have a
>>large number of source files in both directories and there is only one
>>duplicate, so it is impractical to list all the files to compile.
> 
> while don't you use the <exclude ...> command  for the duplicate file
> with its full path ?

Because there are a large number of other directories and files under 
"." which I do not want to include :)  It would be nice if the javac 
task took a fileset under <src> which allowed you to specify files (and 
not just directories as does the current task).

Regards


Niall



-- 
Niall Smart
Rococo Software
9-11 Upper Baggot St.
Dublin 4, Ireland

p: +353 - 1 - 6601315 x221
f: +353 - 1 - 6601328
e: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to