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/05/04 10:34:38 UTC
[jira] Updated: (MAVEN-1259) Root Classloader & Plugin classes
The following issue has been updated:
Updater: Nathan Coast (mailto:nathan@codeczar.com)
Date: Tue, 4 May 2004 4:34 AM
Comment:
plugin as an example that doesn't work. has dependency to weblogic jars for j2ee classes.
Changes:
Attachment changed to junitejb-1.0-src.zip
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1259&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1259
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1259
Summary: Root Classloader & Plugin classes
Type: Bug
Status: Unassigned
Priority: Major
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: Tue, 4 May 2004 4:34 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