Loading an automatic module from an exploded directory

2020-04-09 Thread Eirik Bjørsnøs
The current implementation of automatic modules seems to assume that an automatic module is always packaged as a jar file. I'm working on a module runtime where this is not always the case, and the limitation has become a bit of a challenge. I want to package applications (modules + runtime) at b

Re: Loading an automatic module from an exploded directory

2020-04-09 Thread Alan Bateman
On 09/04/2020 16:42, Eirik Bjørsnøs wrote: The current implementation of automatic modules seems to assume that an automatic module is always packaged as a jar file. I'm working on a module runtime where this is not always the case, and the limitation has become a bit of a challenge. I want to

Re: Loading an automatic module from an exploded directory

2020-04-09 Thread Eirik Bjørsnøs
Alan, > If I read your mail correctly, you are creating "multi-module JAR files" > where the modules are "exploded" under /META-INF/modules in > ${NAME}-${VERSION} directories. Correct. > It shouldn't be too hard to create your > own ModuleFinder that finds modules under META-INF/modules. Thi