Hi Elid,
the message "no supported regular expression matcher found" is my all
time favourite regarding Maven2 ... :-)
+) what type of regexp engine your would like to use - JDK, oro or
regexp - you probably don't need three of them
+) you definitely need "ant-nodeps" in your dependencies, e.g
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
...
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>
+) Thanks to Mark Struberg for finding that out ... :-)
Cheers,
Siegfried Goeschl
Elid OR wrote:
Hi,
I would like to use "mapper regexp" with ant but we must add
ant-apache-jarkarta.jar and ant-apache-jarkata-oro into the ant classpath.
I'v tried to add them to the antrun plugin classpath like this :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ant-install</id>
<phase>generate-sources/phase>
<configuration>
<tasks>
<ant antfile="${basedir}/build.xml"="true">
<target name="ejbdoclet"/>
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-apache-regexp</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-apache-oro</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>
But this doesn't work.
When I run I'm get the following ant error "no supported regular expression matcher
found".
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]