You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Allan Lewis <al...@numbersix.com> on 2006/08/24 19:06:17 UTC

Antrun Classpath Issues [m2]

Hi all,

 

I have an ant script that I need to call from a Maven build (a script
provided by WebLogic for some WL-specific actions).  The ant script
defines some typedefs without issue, but when trying to use those types,
ant complains that it can't find any regular expression matchers:

 

jar:file:/C:/bea/weblogic92/workshop/lib/wlw-antlib.jar!/com/bea/wlw/ant
lib/antlib.xml:44: No supported regular expression matcher found

 

It looks as if the tasks must be using the base 'java.class.path' when
executing, and I don't believe that there is a way to change the
classpath that they are using.  Any other ideas - I'd really like to be
able to use Maven to control the overall build, but at this point it's
looking like I'll have to settle with plain old ant.

 

I'm using a 1.2-SNAPSHOT version of the plugin that I downloaded and
built this morning.