RFR: 8173970: jar tool should have a way to extract to a directory
Alan Bateman
Alan.Bateman at oracle.com
Thu Mar 11 14:29:25 UTC 2021
On 04/03/2021 12:01, Lance Andersen wrote:
> Hi Jaikiran
>
> From https://docs.oracle.com/en/java/javase/15/docs/specs/man/jar.html
> <https://docs.oracle.com/en/java/javase/15/docs/specs/man/jar.html>
>
> The jar man page includes the following :
> The syntax for the |jar| command resembles the syntax for the
> |tar| command.
>
> Because of the above, I feel that we should support:
>
> ———
> -C
> —dir
> —directory
> ————
>
> The addition of ‘-dir’ adds support for an option used by some of the
> other java command line tools.
>
Is --directory needed with this proposal?
I agree with the suggest to create the directory so that it's consistent
with other tools.
-Alan.
More information about the core-libs-dev
mailing list