jcommander icon indicating copy to clipboard operation
jcommander copied to clipboard

JPMS support

Open shs96c opened this issue 6 years ago • 7 comments

It would be nice to be able to use jcommander in an app built by jlink. This could be done if it defined a module-info.class for use with JPMS (apparently the automatically declared modules used in the manifest aren't good enough for jlink)

Even without the driver of jlink, integration with JPMS will be useful as more people switch to using modules as a part of their build and when Java 11 ships.

shs96c avatar Jul 30 '18 16:07 shs96c

It seems that a module name was published in 1.75 and then withdrawn again in 1.78. What's going on?

io7m avatar Aug 25 '19 10:08 io7m

I am also looking for this. Hopefully it could be done

ice1000 avatar Apr 11 '21 19:04 ice1000

The module file is moved outside of the source directory: https://github.com/cbeust/jcommander/blob/master/module-info.java

Idk why.

ice1000 avatar Apr 11 '21 19:04 ice1000

Hi @cbeust what happened to module-info.java?

ice1000 avatar Apr 11 '21 19:04 ice1000

Hi, is it possible to get the module_info back in?

Or (for me at least) even just "Automatic-Module-Name: com.beust.jcommander" added to MANIFEST.MF ?

JohnLCaron avatar Jun 20 '22 14:06 JohnLCaron

Hi, is it possible to get the module_info back in?

Or (for me at least) even just "Automatic-Module-Name: com.beust.jcommander" added to MANIFEST.MF ?

FYI https://picocli.info/ supports JPMS 😉

ice1000 avatar Jun 20 '22 19:06 ice1000

thanks, @ice1000

JohnLCaron avatar Jul 17 '22 20:07 JohnLCaron