You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2009/02/10 06:03:19 UTC
[jira] Closed: (MANTRUN-84) Taskdef classpath not reolved
[ http://jira.codehaus.org/browse/MANTRUN-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed MANTRUN-84.
---------------------------------
Assignee: Carlos Sanchez
Resolution: Not A Bug
Previous comment is right
See http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html
> Taskdef classpath not reolved
> -----------------------------
>
> Key: MANTRUN-84
> URL: http://jira.codehaus.org/browse/MANTRUN-84
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Maven version: 2.0.7
> Java version: 1.6.0_05
> OS name: "windows xp" version: "5.1" arch: "x86"
> Apache Ant version 1.7.0 compiled on December 13 2006
> Reporter: Daniel Frey
> Assignee: Carlos Sanchez
> Attachments: test.zip
>
>
> Trying to run an antrun tast ReplaceRegExp that relies on ant-optional and a regular expression parser using Java 1.6. I have included a ZIP with the relevant files for a testcase as follows:
> 0. Running with JDK 1.6 and Maven 2.0.7
> 1. The pom.xml contains an antrun task that tries to replace some values in a given file.
> 2. Running the test with "mvn package" fails with the error "No supported regular expression matcher found".
> 3. Decommenting the property line in pom.xml does lead to another error "ClassNotFoundException: org.apache.tools.ant.util.regexp.JakartaOroRegexp"
> On the other hand running the same task in ant 1.7 runs perfectly (as long as the property line is not decommented).
> Please try to reproduce the error.
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira