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

Bruce Alspaugh <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
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 can accomplish this using exec, but it would be simpler if I could use 
those options with the jar task. Can those two options be added?

Regards,

Bruce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.