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

Prepare imglib2-ij for modularization #37

Open
3 tasks
tpietzsch opened this issue Jan 5, 2024 · 4 comments
Open
3 tasks

Prepare imglib2-ij for modularization #37

tpietzsch opened this issue Jan 5, 2024 · 4 comments
Assignees

Comments

@tpietzsch
Copy link
Member

tpietzsch commented Jan 5, 2024

@tpietzsch tpietzsch added the JPMS label Jan 5, 2024
@tpietzsch tpietzsch moved this to In Progress in Modularization Jan 5, 2024
@tpietzsch tpietzsch assigned etadobson and tpietzsch and unassigned etadobson Jan 5, 2024
@tpietzsch tpietzsch moved this from In Progress to To Do in Modularization Jan 5, 2024
@acardona
Copy link
Contributor

acardona commented Jan 5, 2024 via email

@tpietzsch
Copy link
Member Author

Yes, it is necessary. JPMS requires that there are no split packages between artefacts.
(The same is true for OSGi. If I remember correctly, KNIME image processing for example had to work around this by having their own version of imglib2-ij.)

Breaking documentation and examples is a very good point. I did not think of that. We should also have scripts to update these. However its more difficult to gather all relevant repositories. (For code, we can at least harvest everything managed by pom-scijava.) Feel free to start putting inks in the comments of this issue!

@acardona
Copy link
Contributor

acardona commented Jan 7, 2024 via email

@tpietzsch
Copy link
Member Author

Another good point.

Maybe another solution might be to have a new artefact (imglib2-ij2 or similar) with the new package name and also leave the old imglib2-ij.jar with deprecated classes. This would keep existing scripts working, and postpone the separate Fiji version until all of Fiji wants to run modularized. I would still want to move as much code and documentation as possible to the new package name. What do you think about that?

I would be also very interested in @ctrueden thoughts on this.

@tpietzsch tpietzsch removed the JPMS label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

3 participants