dev@glassfish.java.net

Re: [arch] deployment issues

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 16 Oct 2009 16:58:40 -0700

Ludovic Champenois wrote on 10/16/09 01:59:
> Bill Shannon wrote:
>> A few of us have been discussing some issues with deployment recently and
>> I'd like to let everyone know what we ended up with and get your
>> feedback.
> To add to this thread:
> Both NetBeans and Eclipse are calculating this "redeploy or not" option
> based on the JSR 88 semantic:
> before doing a simple "run" action, the IDEs are asking for the list of
> deployed apps (via 88) and this returns a list of names.
> If the current desired name is there, a redeploy is emitted, if not, a
> deploy is emitted.
>
> A NetBeans "deploy" command (project popup menu) is in fact a "undeploy
> then deploy" while the "run" action is an optimal/minimal action:
> does nothing if nothing needs to happen (i.e a jsp file change), a
> deploy of the first time, and a redeploy if not, then the contextroot
> page is shown in the browser.
>
> Now the IDEs offer limited "name" control. This name is currently
> calculated based on the directory name where the project is, with space
> chars removed.

So, bottom line, you think the proposed behavior is acceptable, right?

An RFE for the IDE is to be able to set the name for the application
independently of the directory name or project name.