Similarly to Java's -D option that allows declaring system properties from the command line, it would be quite useful to have a similar functionality by the xec command.
Suggested syntax is xec -I <name>=<value>[,<name>=<value>]* ...
This would allow the Ecstasy code (in the container zero) to inject the corresponding values:
@Inject String myName; // the value comes from the option "-I" on the command line
If the injection option is not specified, the value stays unassigned (the current behavior).
Similarly to Java's
-D
option that allows declaring system properties from the command line, it would be quite useful to have a similar functionality by thexec
command.Suggested syntax is
xec -I <name>=<value>[,<name>=<value>]* ...
This would allow the Ecstasy code (in the container zero) to inject the corresponding values:
If the injection option is not specified, the value stays unassigned (the current behavior).