dev@glassfish.java.net

Re: V3: Has the asadmin deploy command changed w.r.t specifying the context root

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 12 Feb 2008 11:39:31 -0800

I was talking to Jane about this yesterday, We need to ensure we are
satisfying the CLIP requirements but that's definitely my feeling too,

just like if someone types --contxetroot, we should interpret it as --
contextroot...

jerome

On Feb 12, 2008, at 11:13 AM, Kedar Mhaswade wrote:

>
>
> Amy Roh wrote:
>> Right. I had to change it to be compatible with v2 option and to
>> run some of the devtests which depended on it. Not sure why it was
>> contextRoot initially in v3.
>> +1 on case-insensitiveness of the option names
>
> I agree. It is more user-friendly to make "long" option-names
> case-insensitive. Short-options on the other hand, need to be
> case-sensitive.
>
> - Kedar
>
>> Thanks,
>> Amy
>> Hong Zhang wrote:
>>> Ok, thanks Vince. From a quick look of Pramod's email, I thought
>>> we were changing to something different than v2. :-P
>>> In v3, we would probably also support the case-insensitiveness of
>>> the option names in addition to maintain the backward compatibility.
>>>
>>> - Hong
>>>
>>> Vince Kraemer wrote:
>>>> I think the admin cli uses "contextroot" in v2... That is what it
>>>> says on the "man page" for asadmin deploy....
>>>>
>>>> So, I think Amy's check in makes v3 more compatible with v2...
>>>>
>>>> vbk
>>>>
>>>> Hong Zhang wrote:
>>>>> Hi, Amy
>>>>> Is there any particular reason that you need to change this
>>>>> option name? We need to keep backward compatibility for admin
>>>>> cli options.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> - Hong
>>>>>
>>>>> Jane Young wrote:
>>>>>> Yes, --contextRoot option is now --contextroot.
>>>>>> See Amy's check-ins:
>>>>>> https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/deployment/DeployCommand.java?view=diff&rev=17924&p1=trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/deployment/DeployCommand.java&p2=trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/deployment/DeployCommand.java&r1=17923&r2=17924
>>>>>>
>>>>>>
>>>>>>
>>>>>> Pramod Gopinath wrote:
>>>>>>
>>>>>>> Hi
>>>>>>> Wanted to check if the asadmin deploy command had changed
>>>>>>> recently w.r.t how one specifies the context root where one
>>>>>>> wants the application to be deployed.
>>>>>>>
>>>>>>> In some prior version I thought I used --contextRoot as the
>>>>>>> option, whereas lately I need to use --contextroot.
>>>>>>>
>>>>>>> Am I mistaken and was it always --contextroot.
>>>>>>>
>>>>>>> Just checking a doubt.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Pramod
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>