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 108801 - Deploy menu item is confusing (M10)
Summary: Deploy menu item is confusing (M10)
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on: 96977
Blocks:
  Show dependency tree
 
Reported: 2007-07-03 20:02 UTC by arungupta
Modified: 2007-11-22 12:22 UTC (History)
4 users (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 arungupta 2007-07-03 20:02:18 UTC
In order to deploy a Web service, I right-click on the Project and see the menu item "Undeploy and Deploy". For the
first time deployment, this menu item is confusing. This should instead be split into a separate Redeploy and Deploy
menu items.
Comment 1 arungupta 2007-07-03 20:04:21 UTC
Another option is to find out if the project has been already deployed and change the menu item label accordingly.
Comment 2 Lukas Jungmann 2007-07-03 20:16:27 UTC
This has been widely discussed as part of one of issues (sorry I don't have its number by hand) - anyway there was a
conclusion that using "Undeploy and Deploy" is better description of the action than "Redeploy".
 Pavel, I'm sure you know more about this, since you were coordinating this change - can I ask you to take care of this
issue, please?
Thanks.
Comment 3 arungupta 2007-07-03 21:16:24 UTC
See http://blogs.sun.com/arungupta/entry/netbeans_6_m10_and_web for more details.
Comment 4 Lukas Jungmann 2007-07-03 22:22:38 UTC
see also issue 106616 (where it was decided to use "Undeploy and Deploy"), according to that issue I would suggest to
close this issue as WONTFIX
Comment 5 Pavel Buzek 2007-07-04 06:54:45 UTC
Petr and Stepan will give you details. I only made a suggestion to them which they used, they make the decision :-)
Comment 6 arungupta 2007-07-04 08:12:44 UTC
Issue 106616 does not talk about the meaning of "Undeploy and Deploy" target for the first deployment of project. 
This does not make sense in that case because the project has not been deployed. I think it's more confusing to
have "Undeploy and Deploy".
Comment 7 arungupta 2007-07-04 08:12:55 UTC
Issue 106616 does not talk about the meaning of "Undeploy and Deploy" target for the first deployment of project. 
This does not make sense in that case because the project has not been deployed. I think it's more confusing to
have "Undeploy and Deploy".
Comment 8 Sherold Dev 2007-07-04 10:21:20 UTC
The "Undeploy and Deploy" action does exactly what you would expect it to do in case that the project has not been
deployed, it simply skips the undeployment step. There are no plans to make the action smarter and change its label
based on whether the project is deployed or not.

I guess what you are looking for is an action which does plain deploy, see the "Run" action.
Comment 9 Roman Strobl 2007-07-05 06:01:27 UTC
I was just demoing web services to a customer and we crossed this issue. The problem is that I want to deploy, not
undeploy, that's why the menu item is very confusing.

How about using:

Deploy (with undeploy)

Or something similar. 
Comment 10 Petr Pisl 2007-07-10 10:25:17 UTC
Changing dynamically the title whether the project was already deployed or not is not basically possible due to the
performance issue. Find out, whether a project is already deployed is time consuming action (especially if the server is
not started yet). You can not rely on remembering whether the action was already invoked. You should take care about
persisting and about switching target server. 

In previous versions users complains that they are looking for an Undeploy action, before they do Deploy again. So after
a discussion we decide to changed it in the current state. If you now better title for this action, please suggest. 
Comment 11 arungupta 2007-07-10 21:09:13 UTC
How about two menu items "Deploy" and "Undeploy and Deploy" ?
Comment 12 arungupta 2007-07-10 21:09:17 UTC
How about two menu items "Deploy" and "Undeploy and Deploy" ?
Comment 13 _ pcw 2007-07-10 22:56:53 UTC
Issue 106616 says "this was decided" but not by whom.  I guess it was on nbusability or somewhere else where I didn't
see it.

Not to reopen the discussion, but how about simply "Deploy / Redeploy" or "Deploy (Redeploy)" AND make sure that the F1
help for the action indicates exactly what this action will do and in what cases (e.g. under what circumstances it will
do a full undeploy, and whatever else happens).

There's a limit to how much of the underlying plumbing we can describe inline and still have a usable menu item.  I
suspect that more users will be confused by this new terminology than were confused by the old one.
Comment 14 arungupta 2007-07-10 22:59:33 UTC
I like "Deploy (Redeploy)".

F1 help can explain that Redeploy means Undeploy and Deploy. I think there is no need for an explicit Undeploy menu item.
Comment 15 arungupta 2007-07-10 22:59:36 UTC
I like "Deploy (Redeploy)".

F1 help can explain that Redeploy means Undeploy and Deploy. I think there is no need for an explicit Undeploy menu item.
Comment 16 Petr Pisl 2007-07-11 10:10:19 UTC
There is issue #96977 which is assigned to me. As you can read in the issue, this issue is a part of a complex problem.
I would like to solve it ASAP, but now there are issues with bigger priority. I'm open to the discussion how it should
be solved. 
Comment 17 Lukas Jungmann 2007-07-17 11:07:09 UTC
websvc module is not the best place for this issue, moving to j2ee since it applies to all Java EE project types
Comment 18 Sherold Dev 2007-08-08 11:46:42 UTC
Closing as WONTFIX, what needs to be fixed is issue 96977.