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 217093 - Addition of a "Deploy into..." dropdown menu option.
Summary: Addition of a "Deploy into..." dropdown menu option.
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 11:24 UTC by qsp
Modified: 2012-08-21 10:48 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Image describing the proposed enhancement. (82.49 KB, image/png)
2012-08-21 10:47 UTC, qsp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qsp 2012-08-20 11:24:00 UTC
It would be useful if when right-clicking the Java EE web-project one could see a "Deploy into" option which would show the different Java EE servers configured.

It would be useful for those who work with multiple servers, allowing the standard deploy action to deploy into the localhost server (or whichever is configured in the project options) and this additional button would make it easier to deploy into other configured servers (thus avoiding the need to right-click->properties->Run->(select server)->Ok->right-click->deploy).

It appears it could be easily implemented, at least among the same type of server vendor.
Comment 1 David Konecny 2012-08-20 20:38:27 UTC
To better understand your request could you please share what's your development process? and why and how do you utilize multiple servers? Is it for an application staging or ...? Do you on daily basis deploy to multiple servers? Thanks.
Comment 2 qsp 2012-08-21 10:47:46 UTC
Created attachment 123343 [details]
Image describing the proposed enhancement.
Comment 3 qsp 2012-08-21 10:48:58 UTC
I'm not a long time developer of java ee applications.

Nevertheless I've been porting and extending an application currently running
in a php+apache server for the last 2 months.

I've installed a glassfish server on the LAN where the application currently
runs. My initial idea was to develop on my laptop and deploy on that server,
but i soon understood that its impossible as the deploy on save option is not
supported for "external" servers, and so the whole application is taken down
during the deployment, which takes ~35 seconds to complete.

Hence I started using a glassfish install on localhost, running on together
with netbeans deploy on save option, where i can quickly resolve the immediate
bugs/programming errors and then deploy into the lan server (which takes the
steps described in the initial post), this deployment to lan server usually
takes place when I git commit or push changes into the git repo.

So on a daily basis I do deploy several times, that’s why I thought it would be
useful to have a drop-down menu to deploy into a configured server (I’ve
attached a picture of what I mean by this).

Or maybe I’m just doing it wrong? I guess I wouldn't be needing the feature if
I could have the deploy on save option enabled for external servers, but that
may be harder to achieve.