Version info as part of the jmod filename?

Erik Joelsson erik.joelsson at oracle.com
Tue Apr 24 04:57:39 PDT 2012



On 2012-04-24 11:41, Alan Bateman wrote:
> Couldn't the make file pick up the version number from the name of the 
> .jmod file that is created?
>
The problem with this is expressing dependencies. To be able to express 
good dependencies you need to be able to predict the names of all files 
that you will be creating.

A workaround for David's problem would be to define the version in the 
makefile and preprocess it into the module-info.java files before 
compiling them.

/Erik



More information about the jigsaw-dev mailing list