Hello everybody,
We have a plugin, OpenMIMS Analysis Module (see http://www.nrims.hms.harvard.edu/NRIMS_ImageJ.php for more details). We have recently modified some code in it (mostly, just adding new functionality) but now for some reason the plugin is no longer even recognized by the ImageJ at startup. Hence the following question: what are the format requirements for an IJ plugin? What files/references should a plugin file/JAR contain? Is there a document specifying that? Thanks in advance. -- *Boris Epstein National Resource For Imaging Mass Spectrometry <http://www.nrims.hms.harvard.edu/> Cambridge, MA Mobile: (617) 816-9654* The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. |
Hi,
On Fri, 25 Jan 2008, Boris Epstein wrote: > We have a plugin, OpenMIMS Analysis Module (see > http://www.nrims.hms.harvard.edu/NRIMS_ImageJ.php for more details). We > have recently modified some code in it (mostly, just adding new > functionality) but now for some reason the plugin is no longer even > recognized by the ImageJ at startup. Hence the following question: what > are the format requirements for an IJ plugin? What files/references > should a plugin file/JAR contain? Is there a document specifying that? Basically, the name should contain an underscore. If you want, you can provide a plugins.config which you include in the .jar file. It appears you did so, in the currently downloadable .jar file: File>Import, "MIMS Images...", NRIMS("open") Plugins>Open MIMS, "Open MIMS Image...", NRIMS("open") Maybe you have a corrupt plugins.config in your new .jar? Or maybe you forgot to include it. If the .jar file does not include a plugins.config, its contents are searched for classes whose name contains an underscore (this is also done in at least one level of subdirectories). It would be easier to help you if I got the non-working .jar file. Ciao, Dscho P.S.: it seems that you included not only the sources in the .jar file (which is good), but also subversion meta-data (which you probably wanted to avoid). |
In reply to this post by Boris Epstein
Hello,
I was wondering if anyone has any experience of working with a ultrasound image Scanner, such as Echo Blaster 128, and ImageJ. Basically, I want to integrate the image capture of the Echo Blaster 128 into ImageJ toolbar using a plugin. Thanks in advance, Emilio -- Emilio Migueláñez Martín, PhD Research Associate Electrical, Electronic and Computing Engineering School of Engineering and Physical Sciences Heriot-Watt University Riccarton Edinburgh EH14 4AS t: +44 (0) 131 4513357 |
In reply to this post by dscho
Hello again,
Thank you everybody. Our problem turned out to be that we renamed the plugin JAR and the new name contained no underscores. Here's the explanaition I got for why there ought to be an underscore in the name: "This is how ImageJ knows, at startup, which JAR files to open and scan for a plugins.config file or a plugin. JAR files without an underscore in the name are assumed to be libraries." Cheers, Boris. Johannes Schindelin wrote: > Hi, > > On Fri, 25 Jan 2008, Boris Epstein wrote: > > >> We have a plugin, OpenMIMS Analysis Module (see >> http://www.nrims.hms.harvard.edu/NRIMS_ImageJ.php for more details). We >> have recently modified some code in it (mostly, just adding new >> functionality) but now for some reason the plugin is no longer even >> recognized by the ImageJ at startup. Hence the following question: what >> are the format requirements for an IJ plugin? What files/references >> should a plugin file/JAR contain? Is there a document specifying that? >> > > Basically, the name should contain an underscore. If you want, you can > provide a plugins.config which you include in the .jar file. It appears > you did so, in the currently downloadable .jar file: > > File>Import, "MIMS Images...", NRIMS("open") > Plugins>Open MIMS, "Open MIMS Image...", NRIMS("open") > > Maybe you have a corrupt plugins.config in your new .jar? Or maybe you > forgot to include it. > > If the .jar file does not include a plugins.config, its contents are > searched for classes whose name contains an underscore (this is also done > in at least one level of subdirectories). > > It would be easier to help you if I got the non-working .jar file. > > Ciao, > Dscho > > P.S.: it seems that you included not only the sources in the .jar file > (which is good), but also subversion meta-data (which you probably wanted > to avoid). > -- *Boris Epstein National Resource For Imaging Mass Spectrometry <http://www.nrims.hms.harvard.edu/> Cambridge, MA Mobile: (617) 816-9654* The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. |
Free forum by Nabble | Edit this page |