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/01/03 22:43:39 UTC
[jira] Updated: (MAVEN-1107) classloading problem with using maven within netbeans IDE.
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Sat, 3 Jan 2004 3:42 PM
Comment:
After reading the NB thread, I'll make the change as this is an easy change to put it under org/apache/maven. I'm not sure its such a safety issue, since MavenUtils.class.getClassLoader should return that for maven.jar only. Just need to wait on CVS to stabilise a bit before moving files around.
Changes:
assignee changed to Brett Porter
priority changed from Major
Fix Version changed to 1.0-final
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1107&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1107
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1107
Summary: classloading problem with using maven within netbeans IDE.
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0-final
Versions:
1.0-rc2
Assignee: Brett Porter
Reporter: Milos Kleint
Created: Sat, 3 Jan 2004 11:08 AM
Updated: Sat, 3 Jan 2004 3:42 PM
Description:
Hello,
I've tried to integrate maven into the netbeans IDE. I wanted to have maven as a module within the app, however it didn't work because of this code in MavenUtils (I believe)
Properties driverProperties = loadProperties(
MavenUtils.class.getClassLoader().getResourceAsStream(
MavenConstants.DRIVER_PROPERTIES ) );
where DRIVER_PROPERTIES is just a "driver.properties" value. thus it's a file located at the root of the jar.
The netbeans module classloader doesn't allow loading stuff from the default package. My discussion on netbeans mailing list is here:
http://openide.netbeans.org/servlets/ReadMsg?msgId=647701&listName=dev
The issue filed in netbeans issue tracking is:
http://www.netbeans.org/issues/show_bug.cgi?id=38368
however I'm not sure if it's a problem solely on the netbeans side, thus filing the issue here as well.
---------------------------------------------------------------------
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