ant-user mailing list archives

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

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

<taskdef name="ReplaceRegExp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp">
    <classpath>
	 <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"/>
    </classpath>
</taskdef>

Maybe something is wrong with my taskdef definition.

Andreas


-----Urspr√ľngliche Nachricht-----
Von:	Stefan Bodewig [mailto:bodewig@apache.org]
Gesendet:	Mo 12/9/2002 1:48
An:	ant-user@jakarta.apache.org
Cc:	
Betreff:	[BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

On Mon, 9 Dec 2002, Andreas Fluegge <afluegge@vitria.com> 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)?

Stefan

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





Mime
View raw message