This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189331

Summary: replace WebProjectLibrariesModifier with ClassPath.EXECUTE and ClassPath.PROVIDED
Product: javaee Reporter: David Konecny <dkonecny>
Component: MavenAssignee: Martin Janicek <mjanicek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick, pjiricka
Priority: P3 Keywords: API
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Konecny 2010-08-09 22:45:32 UTC
See http://netbeans.org/bugzilla/show_bug.cgi?id=185139 for more details. Basically instead of using dedicated WebProjectLibrariesModifier API which was initially needed only by WebProject and now is used also by AppClient project and ideally J2EE Maven support would like to use it too it would be better to just:
* add new type of classpath ClassPath.PROVIDED; and
* handle ClassPath.EXECUTE in application which are deployed to a server container so that EXECUTE classpath is packaged into resulting WAR/EAR/... archive
Comment 1 Martin Janicek 2012-11-06 13:04:16 UTC
Changing TM to Next. Don't see a strong reason for doing this right now..
BTW: Isn't this rather an enhancement than a defect?
Comment 2 David Konecny 2012-11-06 21:13:10 UTC
I cannot remember details of this issue anymore but partially (or fully?) this was improved by issue 207717.

Re. enhancement - possible. But enhancements get easily forgotten (unlike bugs). :-)
Comment 3 Martin Janicek 2012-11-07 08:56:23 UTC
Thanks David! After reading discussion within issue 207717, I do think it's a duplicate..
Comment 4 Martin Janicek 2012-11-07 08:56:43 UTC

*** This bug has been marked as a duplicate of bug 207717 ***