At 09:51 AM 7/16/02 -0500, you wrote: >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.
com.foo.package is the top level in the sense that com.foo.package2 is some other unrelated project, >If the intent was to compartmentalize compilation of different independent >piece of Java code, there are several other Ant idioms to achieve that: yes, that is what i want to do. >1) >build.xml >src/java/piece1/com/foo/piece1 <java srcdir="src/java/piece1"/> >src/java/piece2/com/foo/piece2 <java srcdir="src/java/piece2"/> > >2) >build.xml >piece1/build.xml >piece1/src/java/com/foo/piece1 <java srcdir="src/java"/> >piece2/build.xml >piece2/src/java/com/foo/piece2 <java srcdir="src/java"/> i see, i must copy the source to each piece and then mount each piece as a filesystem. that would work well i was using cvs, but i am so used to rcs that i do not grok cvs. oh well, thanks anyway. >-----Original Message----- >From: Ray Tayek [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 16, 2002 4:10 AM >To: [EMAIL PROTECTED] >Subject: build file in package (ant and netbeans) > >hi, trying to use ant to build some java files in com.foo.package. 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? > >thanks > >--- >ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work >vice chair orange county java users group http://www.ocjug.org/ >mailto:[EMAIL PROTECTED] >hate spam? http://samspade.org/ssw/ > > >-- >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]> --- ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>