ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <>
Subject Re: Adding to the ant classpath from within a project
Date Tue, 23 Aug 2005 20:05:39 GMT
<taskdef> and <typedef> 
( have classpath 
attribute. You can execute it within a target or within ANT-Contrib's 
<if> task in a global scope.

- Alexey.

Nestor Dutko wrote:
> I've looked around at this and understand the mechanisms that nat has
> for
> extending types (via typedef) and tasks (via taskdef).
> I have a condition where I want to use the propertyregexp task. I
> compile
> using JDK1.2. I also have the apache regexp.jar. I have read on how to
> add
> my own task definition and defining with regexpimpl to use via the ant
> -D
> mechanism.
> What I want to do is
>     - augment just ant's classpath to include regexp.jar
>     - do this without:
>         adding the file to $ANT_HOME/lib
>         adding the file to ~/.ant tree
>         setting CLASSPATH to point to the location of the file before
> invoking ant.
> Is there some way that I can cause the ant classloader to know about a
> generic JAR file to be added if the jar file does not have a type or
> task
> definition?
> Thanks,
> Nestor

/ Alexey N. Solofnenko
MDL Information Systems, Inc.
work: 510-357-2222x1726

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

View raw message