Skip to content
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

Support Java Platform Module System (JPMS) #67

Open
wimdeblauwe opened this issue Jul 9, 2019 · 6 comments
Open

Support Java Platform Module System (JPMS) #67

wimdeblauwe opened this issue Jul 9, 2019 · 6 comments

Comments

@wimdeblauwe
Copy link

I am doing some tests with the JPMS and I noticed that MigLayout does not seem to support it at present.

Some articles that might be of help to know what should be done:

@wimdeblauwe
Copy link
Author

It seems that adding this to my own module-info.java makes it possible to use MigLayout:

module myapplication {
    requires miglayout.core;
    requires miglayout.javafx;
}

@tbee
Copy link
Collaborator

tbee commented Jul 9, 2019 via email

@wimdeblauwe
Copy link
Author

The automatic modules are ok for me, but it would be good to document the names of the modules so people can know what to put in the requires directive for each miglayout module.

@mikaelgrev
Copy link
Owner

mikaelgrev commented Jul 9, 2019

I'm all for making a v6 of MigLayout which would be modularized. I haven´t myself needed modules yet though so if @tbee could do it that would be great.

@tbee
Copy link
Collaborator

tbee commented Aug 12, 2019

I've created a separate branch (jpms) and started adding the module-info files; swing and javafx seem to be ok, but I'm running into troubles for swt, the native jars are not being resolved.

@aalmiray
Copy link
Contributor

I can setup a branch and apply the https://github.com/moditect/moditect plugin.
It may be the case that only core, swing, and javafx may be properly modularized (full modules) while the other JARs may use just the Automatic-Module-Name manifest entry to claim their respective com.miglayout.* module name instead of the auto generated name based on the JAR file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants