ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody <paul.c...@lucida.com>
Subject RE: javac task
Date Mon, 11 Mar 2002 17:06:05 GMT
Unless foo and bar are packages, I don't think so.

Paul

> -----Original Message-----
> From: Niall Smart [mailto:niall.smart@rococosoft.com]
> Sent: Monday, March 11, 2002 9:07 AM
> To: ant-user@jakarta.apache.org
> Subject: javac task
> 
> 
> 
> 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>

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