Converting a Plugin to a Package

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

Converting a Plugin to a Package

David Webster
I have managed to learn enough Java to convert some old Matlab
 m files to plugins. Now I would like to convert some of that code
to a package so I can reuse it. But I can't get the complier to allow
it. If I try to convert RingStandardDeviation_.java to a package,
I get this error. 'Plugin or class not found: RingStandardDeviation_'.
What am I doing wrong.

David Webster
Reply | Threaded
Open this post in threaded view
|

Re: Converting a Plugin to a Package

Wayne Rasband
On Apr 21, 2009, at 11:43 PM, David William Webster wrote:

> I have managed to learn enough Java to convert some old Matlab
>  m files to plugins. Now I would like to convert some of that code
> to a package so I can reuse it. But I can't get the complier to allow
> it. If I try to convert RingStandardDeviation_.java to a package,
> I get this error. 'Plugin or class not found: RingStandardDeviation_'.
> What am I doing wrong.

There is an example at
<http://rsb.info.nih.gov/ij/plugins/packages.html>.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: Converting a Plugin to a Package

David Webster
Wayne,

This. Got my package to work, although still have mnuch food for thought.

David
On Wed, Apr 22, 2009 at 7:17 AM, Wayne Rasband <[hidden email]> wrote:

>  On Apr 21, 2009, at 11:43 PM, David William Webster wrote:
>
> I have managed to learn enough Java to convert some old Matlab
>>  m files to plugins. Now I would like to convert some of that code
>> to a package so I can reuse it. But I can't get the complier to allow
>> it. If I try to convert RingStandardDeviation_.java to a package,
>> I get this error. 'Plugin or class not found: RingStandardDeviation_'.
>> What am I doing wrong.
>>
>
> There is an example at <http://rsb.info.nih.gov/ij/plugins/packages.html>.
>
> -wayne
>