Unless foo and bar are packages, I don't think so. Paul
> -----Original Message----- > From: Niall Smart [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 9:07 AM > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>