Version info as part of the jmod filename?
Alan.Bateman at oracle.com
Tue Apr 24 05:57:34 PDT 2012
On 24/04/2012 13:11, David Holmes wrote:
> Exactly. The makefile needs to list module-<version>.jmod as the target.
Right, Erik has a fair point and it's good to discuss these practical
matters. I believe dpkg-deb is similar in that it usually generates
package_version_arch.deb into the directory, at least when an archive
It wouldn't be hard to specify the output file name to the jmod tool but
that would require the make file rename it, and would be somewhat
fragile as it won't fail when the version is out of sync. So although
having the version number in the make file and the module-info.java is a
bit annoying then there is at least the potential to have it fail when
get they out of sync (assuming of course that something depends on the
> Alan: I don't think specifying the version on the compile command
> would be a problem because I would expect to build a module at a time.
For this case, but it is possible to compile multiple modules together too.
More information about the jigsaw-dev