Login  Register

Re: Changes for ImageJ Towards Modular Java Compatability

Posted by Michael P Ellis on Aug 30, 2020; 5:27pm
URL: http://imagej.273.s1.nabble.com/Copy-To-System-and-asynchronicity-tp5023888p5023892.html

Many thanks!

And more thanks for the excellent piece of software that ImageJ is and continues to be.

-- Michael Ellis

August 30, 2020 7:26 PM, "Wayne Rasband" <[hidden email]> wrote:

>> On Aug 30, 2020, at 1:17 AM, Michael Ellis <[hidden email]> wrote:
>>
>> Dear Wayne,
>>
>> I am currently using ImageJ as a jar library for my own project. I am currently running with Java
>> 14 but not yet full transitioned to the Java Module System. Would it be possible to add a
>> module-info.java file in the default package
>> in preparation for compatibility and support of modern java development.
>
> I added a module-info.java file to the ImageJ 1.53e8 source at
> https://github.com/imagej/imagej1/commit/6037ff7c7b3bdc76a2cf9a9f78e81fed979ecefd.
>
> -wayne
>
>> I don't *think* this change would cause backward compatibility issues. But happy to stand
>> corrected.
>>
>> Other changes will be required too, including some reorganisation of files as has already seems to
>> be started in the ImageJA project at https://github.com/imagej/ImageJA.git
>>
>> Regards -- Michael Ellis
>>
>> module ij {
>> requires java.desktop;
>> requires java.rmi;
>> requires java.compiler;
>> requires java.scripting;
>> exports ij;
>> exports ij.gui;
>> exports ij.io;
>> exports ij.macro;
>> exports ij.measure;
>> exports ij.plugin;
>> exports ij.plugin.filter;
>> exports ij.plugin.frame;
>> exports ij.plugin.tool;
>> exports ij.process;
>> exports ij.text;
>> exports ij.util;
>> }
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html