ant-user mailing list archives

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

I'm trying to get the optional task 'ReplaceRegExp' to work from inside Netbeans 3.4.  So
far no problem...  I'm running JDK 1.3.1 (build 1.3.1_03-b03) on my box.  As soon ANT hits
the call to 'ReplaceRegExp' the following stackdump pops up:


java.lang.NoClassDefFoundError: java/util/regex/PatternSyntaxException
        at org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher.getCompiledPattern(Jdk14RegexpMatcher.java:95)
        at org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher.matches(Jdk14RegexpMatcher.java:115)
        at org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:288)
        at org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:410)
        at org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:294)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:119)


Does this mean that 'ReplaceRegExp' in ANT 1.5.1 only works with JDK 1.4 ???

Any help on that would be highly appreciated!

Cheers,
Andreas

--
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