Hi Phil,
In the app-image case it always creates a new directory with the name of
the application underneath the dest/output directory for holding all of
the files. So you either have:
<dest>/appname.ext
or
<dest>/appname/
So I think "." is a reasonable default if not specified.
As to whether to call it "--dest" or "--output", I don't have a strong
opinion. There are precedents for both.
-- Kevin
On 9/16/2019 8:24 PM, Philip Race wrote:
> but I'd concede it to be "." as a default
On second thoughts I am not sure about that either.
I find it much cleaner to know what was generated by looking in a new
directory rather than
hunting in my current directory, especially for the default app-image
case which will dump
a bunch of unfamiliar files.
-phil.
On 9/16/19, 8:13 PM, Philip Race wrote:
I've been thinking about this.
output is nicely symmetrical with input and in the case of a default
app-image it is more than a single item
and personally I'd much rather it not clutter my working directory
and again you get symmetry with input
which you really want to specify but I'd concede it to be "." as a
default over changing the name to dest ...
There is also precedent :
jlink uses -output and these two tools are going to be frequently
used together.
So I would like to see the status quo.
-phil.
On 9/3/19, 11:58 AM, mark.reinh...@oracle.com wrote:
- The `--output`/`-o` option is confusing. It doesn’t name the
output
itself, but rather a directory into which the single item of
output
will be placed. Typing `-o .` all the time is just annoying.
It’d
be more logical to rename this option to `--dest`/`-d` and to
make it
optional, with a default value of `.`.