ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: build file in package (ant and netbeans)
Date Tue, 16 Jul 2002 14:51:58 GMT
No, it is not common at all, to say the least, to try something like this.
Build files are overwhelmingly at the top level of a project, or in a
top-level subdirectory for build-related stuff. I cannot think of any reason
to organize a project like you propose.

If the intent was to compartmentalize compilation of different independent
piece of Java code, there are several other Ant idioms to achieve that:

src/java/piece1/com/foo/piece1	<java srcdir="src/java/piece1"/>
src/java/piece2/com/foo/piece2	<java srcdir="src/java/piece2"/>

piece1/src/java/com/foo/piece1	<java srcdir="src/java"/>
piece2/src/java/com/foo/piece2	<java srcdir="src/java"/>


-----Original Message-----
From: Ray Tayek [] 
Sent: Tuesday, July 16, 2002 4:10 AM
Subject: build file in package (ant and netbeans)

hi, trying to use ant to build some java files in but i 
would like to have the build.xml file in .../com/foo/package. so it looks 
like the path to the source has to be ../../../ - which will include all 
kinds of things that i do not want.

i suppose one could do this with includes or excludes or filesets, but i 
was wondering if any of you have found an idiom for doing this?


ray tayek actively seeking telecommuting work
vice chair orange county java users group
hate spam?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message