Posted by
Joachim Wesner on
Jan 28, 2008; 6:50pm
URL: http://imagej.273.s1.nabble.com/How-to-link-an-external-package-to-plugin-in-ImageJ-tp3697384p3697386.html
Nope,
this is the problem me and others are discussing now for some time,
compiled plugins will find any packages in the plugins directory and below,
but not the (built-in) compiler itself, because
it uses a different classloading mechanism. One way is to add the plugins
directory to the IJ classpath, but this still seems to leave some problems.
Is there any chance to have a general fix to this, so that compile-time and
run-time behavior wil be always the same?
Mit freundlichen Grüßen / Best regards
Joachim Wesner
____________________________________________
Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar HRB 2432
Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis
Sami Badawi
<sami.badawi@GMAI
L.COM> An
Gesendet von:
[hidden email]
ImageJ Interest Kopie
Group
<
[hidden email]. Thema
GOV> Re: How to link an external
package to plugin in ImageJ?
28.01.2008 18:47
Bitte antworten
an
ImageJ Interest
Group
<
[hidden email].
GOV>
Hi Jiajian,
For mathematics I use commons-math-1.1.jar.
All you have to do is place all the needed jar files in ImageJ/plugin
and your PlugInFilter should be able to see it.
-Sami Badawi
http://www.shapelogic.org______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________