Where to put .class files?

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

Where to put .class files?

Daniel Kalthoff
Hi folks,

within my plugins I am using a helper-class that handles some parameter reading from text files. The corresponding .class file is located in the ImageJ/plugins folder.
When I try to use this class from a plugin located in a sub-folder (i.e. plugin/input-output), the class cannot be found. I placed a copy of the .class file in the sub-folder, it will be deleted upon first run of the calling plugin due to an "duplicate class" error. I have a work-around by setting the copy to write-protected, but that's not the way it's supposed to be, right?

Thanks,

Daniel
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
Reply | Threaded
Open this post in threaded view
|

Re: Where to put .class files?

BenTupper
Hi,

Perhaps this thread will help.

https://list.nih.gov/cgi-bin/wa?A2=ind0607&L=IMAGEJ&P=R10957&I=-3

Cheers,
Ben

On Sep 22, 2009, at 4:19 AM, Daniel Kalthoff wrote:

> Hi folks,
>
> within my plugins I am using a helper-class that handles some  
> parameter reading from text files. The corresponding .class file is  
> located in the ImageJ/plugins folder.
> When I try to use this class from a plugin located in a sub-folder  
> (i.e. plugin/input-output), the class cannot be found. I placed a  
> copy of the .class file in the sub-folder, it will be deleted upon  
> first run of the calling plugin due to an "duplicate class" error. I  
> have a work-around by setting the copy to write-protected, but  
> that's not the way it's supposed to be, right?
>
> Thanks,
>
> Daniel
> ________________________________________________________________
> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/