Jar task: --module-version and --main-class options

2018-10-01 Thread Bruce Alspaugh
Java 9 and later add several new options to the jar tool: https://docs.oracle.com/en/java/javase/11/tools/jar.html I would like to use the --module-version and --main-class options with Ant's Jar task, but I could not find them in the manual: https://ant.apache.org/manual/Tasks/jar.html I ca

Re: Jar task: --module-version and --main-class options

2018-10-01 Thread Stefan Bodewig
On 2018-10-01, Bruce Alspaugh wrote: > Java 9 and later add several new options to the jar tool: > https://docs.oracle.com/en/java/javase/11/tools/jar.html > I would like to use the --module-version and --main-class options with > Ant's Jar task, but I could not find them in the manual: > https

Re: Jar task: --module-version and --main-class options

2018-10-01 Thread Bruce Alspaugh
As requested, I've created a new issue. Is there some reason why Ant does not use the JDK's jar tool? Bruce [1] https://bz.apache.org/bugzilla/show_bug.cgi?id=62789 On 10/02/2018 12:20 AM, Stefan Bodewig wrote: On 2018-10-01, Bruce Alspaugh wrote: Java 9 and later add several new options to

Re: Jar task: --module-version and --main-class options

2018-10-01 Thread Stefan Bodewig
On 2018-10-02, Bruce Alspaugh wrote: > As requested, I've created a new issue. Thank you. > Is there some reason why Ant does not use the JDK's jar tool? Most of them are historical. For many years the archives created by the jar tool simply have not really been valid ZIP files - actually java.