Dominique, Thanks for the reply. I was able to make it all work by including the inheritRefs attribute when invoking the other Ant scripts.
Thanks for your help, Dave. > -----Original Message----- > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > Sent: November 14, 2002 8:27 AM > To: 'Ant Users List' > Subject: RE: Passing classpath information between build scripts > > > Actually, I started writing it the other way around, but then > changed my > mind. I think it makes more sense (and is more Ant-like) to > have the most > specific build script augment the common-classpath, rather than the > common-classpath be modified by the specific one (which resembles > derivation, with some kind of template method implemented by > the specific > script to return the specific part expected by the common script). > > Am I making sense to you? If you don't mind posting what > you've really done > so I can compare the two approaches, I'd appreciate (just out > of curiosity, > and to know if I understood you correctly). > > And of course, as was pointed out, you should probably > explicitly pass down > the common-classpath with a nested <reference> in <ant> ;-) > Cheers, --DD > > -----Original Message----- > From: Dave Rathnow [mailto:dave.rathnow@;wrx-ca.com] > Sent: Wednesday, November 13, 2002 10:03 PM > To: 'Ant Users List' > Subject: RE: Passing classpath information between build scripts > > > Dominique, > > I think you example is backwards from what I described. > Never-the-less, it is similar to what I'm looking for, except > I can't get the refid passed from one build script to another. > Have you gotten this to work? > > Dave. > > > -----Original Message----- > > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > > Sent: November 13, 2002 11:23 AM > > To: 'Ant Users List' > > Subject: RE: Passing classpath information between build scripts > > > > > > Try this approach (if I understood you correctly). --DD > > > > --- common.xml --- > > <path id="common-classpath"> > > ... > > </path> > > > > --- specific1/build.xml > > &common; > > > > <path id="classpath"> > > ... specific part > > <path refid="common-classpath"/> > > </path> > > -- > 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>