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 135686

Summary: [permui] RESTful / Web Services shouldn't be in Samples
Product: webservices Reporter: Lukas Hasik <lhasik>
Component: RESTAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker CC: jglick, jrojcek
Priority: P2 Keywords: T9Y, UI
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Hasik 2008-05-23 12:30:26 UTC
According to the Permanent UI specification for the New Project wizard there shouldn't be following items in Samples
category :
1, Web Services
2, RESTful Web Services
http://wiki.netbeans.org/NewProjectWizard

Please, follow the UI review process to fix it. Jano, can provide more details. 
http://wiki.netbeans.org/UIReviewProcess
Comment 1 jrojcek 2008-05-23 15:46:26 UTC
The RESTful sample templates should be moved into the Web Services category. If you need to distinguish them from regular web services, change their 
names to "RESTful Hello World" or "Hello World (RESTful)".
Comment 2 Peter Liu 2008-06-20 00:40:56 UTC
Fixed checked into trunk.  The REST samples are now under Samples -> Web Services category.

Comment 3 Jesse Glick 2008-06-20 02:16:23 UTC
You broke commit validation.

http://deadlock.netbeans.org/hudson/job/trunk/2381/testReport/org.netbeans.core.projects/ValidateLayerConsistencyTest/testIfOneFileIsDefinedTwiceByDifferentModulesTheyNeedToHaveMutualDependency/

Some modules override their files and do not depend on each other
Some modules conflict on the definition of instantiatingWizardURL in Templates/Project/Samples/Metro:
{org.netbeans.modules.websvc.metro.samples/1=nbresloc:/org/netbeans/modules/websvc/metro/samples/descriptions/metroSamplesCategory.html,
org.netbeans.modules.websvc.rest.samples/0=nbresloc:/org/netbeans/modules/websvc/rest/samples/resources/category.html} 
Comment 4 Peter Liu 2008-06-25 01:12:21 UTC
Reopening because the original fix broke the validation test.
Comment 5 Peter Liu 2008-07-30 19:19:25 UTC
Fix checked into trunk: http://hg.netbeans.org/main/rev/d05469c3b788
Comment 6 Quality Engineering 2008-07-31 04:10:14 UTC
Integrated into 'main-golden', available in build *200807310201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/d05469c3b788
User: PeterTLiu@netbeans.org
Log: Fix for IZ #139063 and #135686
Comment 7 Quality Engineering 2008-08-07 16:28:57 UTC
Integrated into 'main-golden', available in build *200808071401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/857807ba7714
User: Lukas Jungmann <jungi@netbeans.org>
Log: reflect iz #135686 in tests
Comment 8 Lukas Jungmann 2008-09-16 13:49:11 UTC
v.