Initial module-system design, API, and early-access builds
Stefan Fuchs
snfuchs at gmx.de
Thu Sep 10 22:00:47 UTC 2015
Hi,
reading the overview document I stumbled upon the sentence, that the
module declaration should by convention go to a file named
module-info.java and therefore complied to ||module-info.class file in
the root directory of the jar file. Does this mean, that a modular jar
file may only contain one module at a time? For many applications it is
common practice to fold all compiled classes and its dependencies into
one big jar file. Would this still work?
Wouldn't it be better to include the module name in the file name?
e.g.: com-foo-bar-module-info.java
- Stefan
More information about the jigsaw-dev
mailing list