-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes issue#2158 by adding Automatic-Module-Name #3133
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Patrick Reinhart <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The module names are okay (I think)... but the BndConvention
probably isn't the right place (congratulations on navigating the build-system though). I'm actually prototyping this atm after your comment on #2158 floated this up to my attention again.
The changes I have staged at the moment put the manifest changes in InternalEhcacheModule
and ClusteredEhcacheModule
. That's really only the start though - the second issue is getting some test coverage in place to make sure everything is working. I managed to hack that in (could probably do with some cleanup) - but that leaves issues with split packages (right now between ehcache-xml-spi
and ehcache-xml
). I'm still working on this, but I'll push a draft PR shortly with the changes I have.
Would be cool to have those in the next release as I try to migrate the TweetWallFx project to the Java module system and got some other ones that would need this feature too. |
@chrisdennis Any progress on your prototype so far or would you give me a hint and I could look into it? |
This is caught in an awkward place atm. Automatic modules cannot be made to work because the
I'm hoping to get a decision made on this asap... but if I'm right and we go with a major version bump it's not going to happen massively quickly. |
@chrisdennis has any decision been made regarding which approach you're aiming for? |
Adds
Automatic-Module-Name
to the manifest logic.The default calculation will take the module name replace all
-
characters with.
and prefixes is withorg.
in case of the moduleehcache-107
a specific automatic module declarationorg.ehcache.jcache
was added to replace the calculated default name.