dev@glassfish.java.net

Re: Example of support for --target option?

From: Amy Roh <amy.roh_at_oracle.com>
Date: Tue, 01 Jun 2010 16:26:46 -0700

Also, should we add a subclass with --target option so it can be
extended since many components implement --target option?

Thanks,
Amy

Marina Vatkina wrote:
> Do we have an example of how --target option should be
> defaulted/implemented?
>
> There are multiple cases of annotating the option with
> @Param(name = "target", optional = true, defaultValue = "server")
>
> but I'm wondering if it's safe to hardcode "server" string everywhere...
>
> thanks,
> -marina
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>