dev@glassfish.java.net

Re: properties not an option anymore for deploy command?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Sun, 26 Apr 2009 19:22:38 -0400

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?

- 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
>