dev@glassfish.java.net

Example of support for --target option?

From: Marina Vatkina <marina.vatkina_at_oracle.COM>
Date: Tue, 01 Jun 2010 16:04:27 -0700

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