Login  Register

Re: ImageJ Plugins for Signed jar

Posted by ctrueden on Aug 25, 2008; 9:14pm
URL: http://imagej.273.s1.nabble.com/ImageJ-Plugins-for-Signed-jar-tp3695294p3695297.html

Hi Hanumanth,

See this message in the archives:
https://list.nih.gov/cgi-bin/wa?A2=ind0806&L=IMAGEJ&P=R18536&I=-3

Also, I believe you do not want to nest JAR files -- rather, you
should extract the contents of all the JARs you wish to combine into a
common directory structure, then create one combined JAR file
containing all the files. In the case of plugins, I believe they
should be extracted beneath the plugins subfolder. But please be aware
that I do not have much experience using ImageJ as an applet and could
be wrong.

-Curtis

On Mon, Aug 25, 2008 at 3:22 PM, Hanumanth <[hidden email]> wrote:

> Hi Curtis,
>
> can u tell me what changes i have to make in IJ_Props.txt file and in which place as it is having so many properties
>
> and wht are the properties i have to add can u give me an example
>
> i have to extract the ij.jar file and copy the jar file into it and i have to make chenges in IJ_Props.txt file, is this enough or anything needs tobe done.
>
> thanks
>
> --- On Tue, 26/8/08, Curtis Rueden <[hidden email]> wrote:
>
> From: Curtis Rueden <[hidden email]>
> Subject: Re: ImageJ Plugins for Signed jar
> To: [hidden email]
> Date: Tuesday, 26 August, 2008, 1:33 AM
>
> Hi Hanumanth,
>
> Here is Wayne's answer from a while back regarding adding custom
> plugins to an applet:
>
>> The plugins have to be added to ij.jar and you need to edit the
>> IJ_Props.txt file to add them to the Plugins menu. The plugins must
>> be at the root level of the jar file, along with IJ_Props.txt and
>> about.jpg. You can use the jar utility that comes with the Sun JDK to
>> extract the files from jar files and to build new jar files.
>
> Regarding Bio-Formats specifically, you may run into trouble trying to
> read lossless JPEG compressed DICOM in an applet, because Bio-Formats
> relies on the JAI Image I/O Tools native library being installed, and
> AFAIK there is no easy way to bundle it in an applet (and it is
> platform dependent anyway). You would need each user to install the
> library manually, and even then I am uncertain whether it would be
> accessible from within an applet. But other forms of compressed DICOM
> should work OK.
>
> -Curtis
>
> On Mon, Aug 25, 2008 at 2:47 PM, Hanumanth <[hidden email]>
> wrote:
>>
>> Hi,
>>
>> I am using ImageJ in Java Web Application (TOMCAT) as a signed jar, for
> this how to add external jar files as plugins.
>>
>> when i am invoking as an applet for preloading images, for some images it
> is showing cannot open compressed DICOM images, for this i have downloaded
> loci-tools.jar.
>>
>> how to add loci-tools.jar as a plugin for ImageJ, i want to add this as
> plugin when invoking from applet
>>
>> thanks
>>
>>
>>      Be the first one to try the new Messenger 9 Beta! Go to
> http://in.messenger.yahoo.com/win/
>
>
>
>      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
>