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/07/23 08:26:10 UTC
[jira] Closed: (MAVEN-1259) Root Classloader & Plugin classes
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1259
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1259
Summary: Root Classloader & Plugin classes
Type: Bug
Status: Closed
Priority: Major
Resolution: CANNOT REPRODUCE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin manager
Versions:
1.0-rc2
Assignee:
Reporter: Nathan Coast
Created: Tue, 4 May 2004 4:32 AM
Updated: Fri, 23 Jul 2004 2:25 AM
Description:
Plugin has classes that extend junit classes. junit classes are loaded by root classloader else you get a NoClassDeffFoundError when calling tag
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
affter setting junit to root classloader in properties, calls to classes in plugin (extend test case) result in no class def found error. Workaround - create jar file from classes, place in repo and declare as a dependency for plugin.
attached plugin, dependency to weblogic jar for access to j2ee classes.
cheers Nathan
---------------------------------------------------------------------
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