admin@glassfish.java.net

Re: --echo

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Tue, 11 Aug 2009 15:27:22 -0700

Lidia Marchioni wrote on 8/11/09 11:51 AM:
> I would definitely agree that printing more information, e.g. non user
> specified options and environment variables, is a plus. I'm not sure
> what was the original intent for the echo command, but we use it for
> debugging purposes, when things don't work as expected. We can go back
> to the execution logs and often get an idea of what happened without
> rerunning of the tests. Thus printing all of the command options, as
> Sankar pointed out, is very helpfull. I can't think of a reason to
> limit the information printed, other than if it is hard to
> read/understand and thus confusing. After all, by default echo is set
> to false.

Give me an example what output you would like for the command
"create-domain --user anonymous domain2".

Do you want to see the effective value of every possible option
to the create-domain command, even though most of them were not
specified and the default was used?

Or is it sufficient if the output contains only the --user option?


Do you expect that you can cut&paste the --echo output to re-execute
the command? Would a different output format be acceptable?