dev@glassfish.java.net

Re: [arch] add a new asadmin redeploy option or reuse existing one for the new EJB feature?

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Wed, 22 Sep 2010 12:47:13 -0700

Correct, don't specify a defaultValue in this case.

Marina Vatkina wrote on 9/22/10 12:19 PM:
> Then we should not use it because it will override deployment descriptor setting.
>
> -marina
>
> Bill Shannon wrote:
>> (Catching up on old email...)
>>
>> Marina Vatkina wrote on 6/29/10 3:24 PM:
>>
>>> Bill Shannon wrote:
>>>
>>>> Hong Zhang wrote on 06/29/10 09:42 AM:
>>>>
>>>>> Hi, Shingwai
>>>>>
>>>>>> Just want a clarification.
>>>>>> 1. How do I know whether the --keepstate is in command line or not?
>>>>>>
>>>>> If the --keepstate has the tri-state values, null/false/true, the null
>>>>> will mean it's not specified by the user in the command line.
>>>>>
>>>> Which you specify in the command implementation code as
>>>>
>>>> @Param(optional = true, defaultValue = "false")
>>>> Boolean keepState;
>>>>
>>>> Note the use of Boolean vs. boolean.
>>>>
>>> Won't defaultValue set the value?
>>>
>>
>> Yes, it will.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>