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 114901 - RESTful ws client stubs wizard should offer only opened projects
Summary: RESTful ws client stubs wizard should offer only opened projects
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Liu
Depends on:
Reported: 2007-09-06 15:27 UTC by Lukas Jungmann
Modified: 2008-04-14 17:09 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-09-06 15:27:35 UTC
-go to new RESTful ws client stubs wizard
-press Add Project...

Actual: Open project dialog is opened and user is expected to find the project he wants to use on the filesystem

Expected: Dialog with the list of already opened projects in the IDE is shown to the user

I think that second scenario - one is creating ws client stubs for project he has opened/is developing in the IDE - is
more common, so this could improve usability a bit.
Comment 1 Nam Nguyen 2007-09-06 15:52:49 UTC
This seems to be in-line with Peter's argument in our discussion.  Peter, would you evaluate and decide whether to make
the change.  
Comment 2 Peter Liu 2007-09-06 18:55:18 UTC
Right now, I don't see any other way to improve usability but this.  The original argument for using the file chooser is
to be inline with specifying project dependency, in which case, you don't need to have all the projects open in the IDE.
However, currently, users have no way to find out if a project contains restful resource or not.  I have been trying to
figure out how to filter out projects that do not contain restful services. However, there are issues since a project
folder can contain other projects and can be very expensive.

In addition, the core web service support use the same approach for creating clients. 

Anyway, I argued for the open project approach from the start so it is +1 for me.
Comment 3 Peter Liu 2008-03-17 21:51:13 UTC
Changing this to an enhancement request.  Also, there is currently no solution for this issue because a project folder
can contain other projects. In order to filter out a project, we need to search all the sub-projects recursively to
determine that the root project can be filtered out. This is not practical at all. 
Comment 4 Lukas Jungmann 2008-04-14 17:09:21 UTC
moving opened issues where TM != dev to TM=TBD