On Thu, 18 Jul 2002, Nolan Ring <[EMAIL PROTECTED]> 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>

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

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

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to