ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niall Smart <niall.sm...@rococosoft.com>
Subject javac task
Date Mon, 11 Mar 2002 17:07:25 GMT

Hi,

Lets say I have a build system laid out like this:

top/
     build.xml
     foo/
         a.java
         b.java
     bar/
         a.java
         c.java

Is it possible to compile foo/a.java and bar/c.java using one javac 
target?   The following target natually fails with a "duplicate class: 
a" error.

<javac>
   <src path="foo"/>
   <src path="bar"/>
   <include name="a.java"/>
   <include name="b.java"/>
</javac>


-- 
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