ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Fluegge" <>
Subject AW: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)
Date Mon, 09 Dec 2002 12:58:27 GMT

this is how I have defined the task in my build.xml:

<taskdef name="ReplaceRegExp" classname="">
	 <pathelement location="D:/Java/jakarta-oro-2.0.4/jakarta-oro-2.0.4.jar"/>
	 <pathelement location="D:/Java/jakarta-ant-1.5.1/lib/optional.jar"/>

Maybe something is wrong with my taskdef definition.


-----Urspr√ľngliche Nachricht-----
Von:	Stefan Bodewig []
Gesendet:	Mo 12/9/2002 1:48
Betreff:	[BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

On Mon, 9 Dec 2002, Andreas Fluegge <> wrote:

> I have done that.  I'm using oro 2.0.4 as specified by the ant
> docs. What makes me think that jdk 1.4.x is required is the class
> that is missing:
>  java/util/regex/PatternSyntaxException

This is the fall-through case.  If Ant would find ORO, it wouldn't
search for 1.4.

Are you sure Ant can find ORO (the fact that you use Ant from inside
an IDE may complicate things).  Is it on the same classloader as Ant?
Can you run ant -debug to see whether it tries to load the ORO classes
(and fails)?


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

View raw message