ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <>
Subject Re: Advanced includes/excludes for javac
Date Mon, 23 Jun 2008 12:13:26 GMT
Give this a try:

<javac ..>
 	<include name="src/proj1/ src/proj2/"/>

This is not something I typically do...and don't have time to test it...

The javac task HTML has some more information on this...

On Mon, 23 Jun 2008, Roman Kennke wrote:

> Hi there,
> I have a problem with the javac task that I cannot solve, maybe somebody
> can help me. Let's say I have a directory layout like this:
> src/proj1/
> src/proj1/
> src/proj2/
> src/proj2/
> Now I want to compile Class1 from proj1 and Class2 from proj2 and
> exclude the other two. Also, I need to compile those in one go because
> they depend on each other. I didn't find a way to implement this using
> the srcdir attribute, or nested src tags. Any ideas?
> Cheers, Roman
> -- 

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate
Chief Architect JavaPIM

Architect Keros

View raw message