ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: is there any way to modify a classpath that referenced with refid ?
Date Thu, 18 Jul 2002 13:25:42 GMT
On Thu, 18 Jul 2002, Nolan Ring <Nolan.Ring@Sun.Com> wrote:

> I've defined a classpath and assigned it the id "classpath.path" ;
> it's a path that I want to use throughout my buildfile with very
> minor modifications.  What I want to do is exclude a particular jar
> file that would otherwise be included because of the wildcards in
> the original definition.

And you can build compound <path>s:

<path id="path-without-the-jar">

<path id="with-the-jar">
  <path refid="path-without-the-jar" />
  <fileset ...>

and use the first path whenever you want to exclude the extra jar and
the second one where you need it.


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

View raw message