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 109911 - Replace/remove @SubResources in generated *Resource class
Summary: Replace/remove @SubResources in generated *Resource class
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 21:42 UTC by Lukas Jungmann
Modified: 2007-07-17 09:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-07-16 21:42:36 UTC
@SubResources has been removed from jsr311 API[1] therefore it should be removed from generated sources or replaced by
something else. Also note that it is not possible to see subresources and test HTTP methods on them in the test client
with latest jersey-0.1.1-ea.zip

[1]: https://jsr311.dev.java.net/servlets/ReadMsg?list=commits&msgNo=49
Comment 1 Peter Liu 2007-07-16 21:52:00 UTC
That's odd my version of jersey-0.1.1-ea still has @SubResource.  Anyway, removal of the @SubResource is planned. I'll
get to it shortly.

Comment 2 Lukas Jungmann 2007-07-16 21:56:06 UTC
I downloaded my version of jersey ~1-2 hours ago...
Comment 3 Peter Liu 2007-07-17 00:54:13 UTC
Fix checked into NB 6 trunk.

IDE:-------------------------------------------------
IDE: [7/16/07 4:52 PM] Committing "REST Web Service Support" started
Checking in Constants.java;
/cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/codegen/Constants.java,v  <--  Constants.java
new revision: 1.27; previous revision: 1.26
done
Checking in EntityRESTServicesCodeGenerator.java;
/cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/codegen/EntityRESTServicesCodeGenerator.java,v  <-- 
EntityRESTServicesCodeGenerator.java
new revision: 1.66; previous revision: 1.65
done
IDE: [7/16/07 4:52 PM] Committing "REST Web Service Support" finished

Comment 4 Lukas Jungmann 2007-07-17 09:51:59 UTC
v.