-Dplugins.dir=..\imageJ and ImageJ 1.47t

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

-Dplugins.dir=..\imageJ and ImageJ 1.47t

Simon Roussel
Dear All,

To use ImageJ on several computers/servers within a network, I have several
directories in a network drive with ImageJ installed, each with its own
settings (memory .) to be used from a particular computer.

 

To avoid to have to update my set of macros and plugins in each directory, I
use for several years, without any problem, the following instruction to
specify a common plugins directory for all installations:

-Dplugins.dir=..\imageJ

 

This code is in the ImageJ.cfg file:

.

jre\bin\javaw.exe

-Xmx8200m -Dplugins.dir=..\imageJ  -cp ij.jar ij.ImageJ

 

After updating IJ to 1.47t, I now get exceptions like this :
"java.lang.RuntimeException: Cannot find resource
'/macros/AB_SAR/_T_SAR.txt".

 

It seems to me that, previously, the macro folder was taken from the same
directory as that one where plugins are declared (..\imageJ), while it is no
more the case.

The problem is solved if I copy my macros directory in that one in which
ImageJ is installed.

 

Do you have any idea of how to correct this behaviour ?

Is there some instruction like "-Dmacros.dir" ?

Or, is there any link with a recent bug correction: "Thanks to Josef
Borkovec, fixed a bug that caused GenericDialogs to not correctly record
strings containing Windows file paths with backslashes.".

 

Besr regards,

Simon Roussel

 


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