You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/23 09:44:09 UTC
[jira] Updated: (MAVEN-1444) silent failure of Ant taskdef/typedef classloader mix up
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Sat, 23 Oct 2004 3:43 AM
Changes:
Fix Version changed to 1.0.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MAVEN-1444?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1444
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1444
Summary: silent failure of Ant taskdef/typedef classloader mix up
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
jelly/ant integration
Fix Fors:
1.0.1
Versions:
1.0
Assignee:
Reporter: J. Matthew Pryor
Created: Sun, 12 Sep 2004 6:42 AM
Updated: Sat, 23 Oct 2004 3:43 AM
Description:
When you have ant tasks that had both taskdef and typedefs, they need to be loaded from the same class loader. Thie is done using the loaderref attribute in both 'defs and seeting it to the same value e.g.
<ant:taskdef resource="cpptasks.tasks" loaderref="cc.loader" classpathref="maven.dependency.classpath" />
<ant:typedef resource="cpptasks.types" loaderref="cc.loader" classpathref="maven.dependency.classpath" />
The problem with maven is that if this loaderref is missing, you don't get any diagnostic output from maven whatever to tell you. The goals appear to succeed (or silently fail) without any explanation
More info here : http://www.dynamic-control.net/2004/07/maven-and-cpptasks-google-bait.html
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org