arch@glassfish.java.net

Re: [arch] deployment issues

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Fri, 16 Oct 2009 19:17:19 -0700

Bill Shannon wrote:
> 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?
yep
>
> An RFE for the IDE is to be able to set the name for the application
> independently of the directory name or project name.
yep, but as usual the more knobs, the more doc, confusion etc...My
Iphone has only 1 single button, no need for more:-)

Ludo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>