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>
> 
> -----Original Message-----
> From: Dave Rathnow [mailto:dave.rathnow@;wrx-ca.com] 
> Sent: Wednesday, November 13, 2002 12:06 PM
> To: '[EMAIL PROTECTED]'
> Subject: Passing classpath information between build scripts
> 
> 
> 
> I've got a directory hierarchy with a number of different 
> projects under it.
> All the project share a "common" build script that they invoke from a
> "private" build script under thier own project directory.  
> All the common
> jars and zips are included in a classpath built in the common build
> script but each project has additions to the classpath.  I 
> would like the
> specific build script to somehow construct this classpath and then
> pass it into the common build script.
> 
> Can anyone suggest how to do this?  I would like something similar
> to refid's but this doesn't seem to work.
> 
> Thanks,
> Dave.
> 
> W. Dave Rathnow
> Wireless Matrix Corporation 
> Calgary, AB 
> http://www.wirelessmatrixcorp.com
> mailto:Dave.Rathnow@;wrx-ca.com
> 
> 
> --
> 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>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to