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:[EMAIL PROTECTED]] Gesendet: Mo 12/9/2002 1:48 An: [EMAIL PROTECTED] Cc: Betreff: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1) On Mon, 9 Dec 2002, Andreas Fluegge <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
<<winmail.dat>>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>