ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niall Smart <niall.sm...@rococosoft.com>
Subject Re: javac task
Date Mon, 11 Mar 2002 17:26:50 GMT
>>>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: niall.smart@rococosoft.com


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message