dev@glassfish.java.net

Re: properties not an option anymore for deploy command?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Sun, 26 Apr 2009 16:35:41 -0700

On 4/26/09 4:22 PM, Hong Zhang wrote:
> Hi, Ludo
>
>> I see this from NB which is using
>> http://localhost:4848/__asadmin/deploy?path=/Users/ludo/acvs/ndc/WebApplication3/build/web&name=WebApplication3&force=true&properties=keepSessions=true
>>
>>
> You should use "property" instead of "properties":
> http://localhost:4848/__asadmin/deploy?path=/Users/ludo/acvs/ndc/WebApplication3/build/web&name=WebApplication3&force=true&property=keepSessions=true
>
>
> Was the "properties" working before? As far as I know, it was
> "property" instead of "properties" since v2?
Weird... property works, but we have been using properties in Eclipse
and NetBeans up to now...
We can change but can we track the change that triggered this?
Thanks,
Ludo
>
> - Hong
>
>> Error is:
>> Exit Code : FAILURE
>> Invalid option: properties
>> Usage: deploy [--virtualservers virtual_servers] [--contextroot
>> context_root] [--force=false] [--precompilejsp=false] [--name
>> component_name] [--upload=true] [--enabled=true] [--libraries
>> jar_file[(pathseparator)jar_file]*] [--property
>> (name=value)[:name=value]*] file_archive| filepath
>>
>> But
>> http://localhost:4848/__asadmin/deploy?path=/Users/ludo/acvs/ndc/WebApplication3/build/web&name=WebApplication3&force=true
>>
>>
>> works...
>>
>> Regression? Change in deploy backend? Bug in NB?
>>
>> Ludo
>>
>> ---------------------------------------------------------------------
>> 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
>