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 175587 - Unresolved dependencies with LeanServiceECBComponentWithAjax sample
Summary: Unresolved dependencies with LeanServiceECBComponentWithAjax sample
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 12:51 UTC by Alexei Mokeev
Modified: 2009-11-05 10:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Unresolved dependencies (24.57 KB, image/png)
2009-10-28 12:52 UTC, Alexei Mokeev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Mokeev 2009-10-28 12:51:20 UTC
NetBean 6.8 Beta.

Steps to reproduce:
1. Install Java SE profile
2. Install "Java Web Applications" from UC
3. Create new LeanServiceECBComponentWithAjax sample 
Not all dependencies are resolved in the created project (see attached)

To fix dependencies manually you may install 'RESTful Web Services' from UC.
Comment 1 Alexei Mokeev 2009-10-28 12:52:20 UTC
Created attachment 90173 [details]
Unresolved dependencies
Comment 2 Milan Kuchtiak 2009-11-03 15:09:44 UTC
That's true. This issue is likely related to most of web samples.
I guess, the entire ws support/rest support is disabled.
Jarda, what can we do with that ?
Comment 3 Jaroslav Tulach 2009-11-04 08:06:03 UTC
Imho: Move the REST related samples into "RESTful Web Services" modules.
Comment 4 Milan Kuchtiak 2009-11-04 12:05:34 UTC
This is a complex JavaEE 6 web application including EJBs and REST services.
The category is ideal, IMO. It's still a web project.
Note: REST is now part of JavaEE 6.

BTW, there are more examples in Web category, containing EJBs. Will EJB support be activated there? Jarda? 

Would it help if I move this particular example to Java EE category? Jarda?

I can also move all samples from Web category to Java EE, and remove the Web category entirely. What do you think, Petr?
Comment 5 Petr Jiricka 2009-11-04 15:58:30 UTC
I agree with Jarda's proposed solution. Though there are probably more important issues to solve, and this is not really
critical for 6.8.

> I can also move all samples from Web category to Java EE

Well, moving to another *category* would not help, right? You would need to move them to another *module*.
Comment 6 Milan Kuchtiak 2009-11-04 16:20:36 UTC
I got it. Thanks.
Comment 7 Milan Kuchtiak 2009-11-04 17:19:04 UTC
Fixed.

Details:
http://hg.netbeans.org/main/rev/2f2a5d97cbfe
Comment 8 Quality Engineering 2009-11-05 10:15:10 UTC
Integrated into 'main-golden', will be available in build *200911050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2f2a5d97cbfe
User: mkuchtiak@netbeans.org
Log: #175587: moving sample from j2ee.samples to websvc.rest.samples