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 168154 - keeps being added to
Summary: keeps being added to
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Milan Kuchtiak
Depends on:
Reported: 2009-07-06 01:35 UTC by emiddio
Modified: 2010-07-15 03:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

REST Config dialog (24.52 KB, image/png)
2010-07-14 12:23 UTC, Milan Kuchtiak

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2009-07-06 01:35:34 UTC
i am doing rest/jersey/spring with the rest/jersey/spring sources -- i dont want any help
from netbeans -- in thinking i need some libraries -- which i dont.

netbeans keeps adding libraries to the project i dont want to use;
Comment 1 Milan Kuchtiak 2010-07-12 09:03:08 UTC
This is worth to fix for the next release.
Comment 2 Quality Engineering 2010-07-13 03:34:31 UTC
Integrated into 'main-golden', will be available in build *201007130001* on (upload may still be in progress)
Log: #168154: code cleanup
Comment 3 Milan Kuchtiak 2010-07-14 12:22:09 UTC

Now the dialog occurs asking user to add the Jersey library or not.
If user doesn't select the "Add Jersey Library" option and checks "USER is responsible for REST Configuration" nothing is added to project classpath.

The project can be configured using REST Services node->REST Resources Configuration action.

See the picture.

Of course, the REST support is based on JSR311 (JAX-RS API) and user is responsible to add JSR311 jar to project classpath. Otherwise REST resources are not recognized in logical view.
Comment 4 Milan Kuchtiak 2010-07-14 12:23:02 UTC
Created attachment 100826 [details]
REST Config dialog
Comment 5 Quality Engineering 2010-07-15 03:32:02 UTC
Integrated into 'main-golden', will be available in build *201007150001* on (upload may still be in progress)
Log: #168154: don't force adding Jersey to project classpath