NetBeans and Image

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

NetBeans and Image

Divakar Ramachandran
Hi all,

I have followed instructions at
http://rsb.info.nih.gov/ij/developer/NBTutorial.html and have
the following question:

I copied the source for a plugin into a folder
under plugins. The plugin source as well as the main ImageJ
project compiles and runs without
complaint. However, when I select the plugin from
Plugins menu, I get a dialog box saying "Plugin not
found: plugin-name".

Is there any class path to be set somewhere so that the
plugin class file that has been created under the
plugins\sub-folder folder can be found by the ImageJ running
through NetBeans IDE? I have tried changing ImageJ properties
but so far not found anything useful.

Thanks,
Div.


               
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: NetBeans and Image

audrey karperien
I use NetBeans 4.1, and I have to specify that the class file gets compiled into the plugins directory.
   
 
"Divakar@Yahoo" <[hidden email]> wrote:
  Hi all,

I have followed instructions at
http://rsb.info.nih.gov/ij/developer/NBTutorial.html and have
the following question:

I copied the source for a plugin into a folder
under plugins. The plugin source as well as the main ImageJ
project compiles and runs without
complaint. However, when I select the plugin from
Plugins menu, I get a dialog box saying "Plugin not
found: plugin-name".

Is there any class path to be set somewhere so that the
plugin class file that has been created under the
plugins\sub-folder folder can be found by the ImageJ running
through NetBeans IDE? I have tried changing ImageJ properties
but so far not found anything useful.

Thanks,
Div.



__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: NetBeans and Image

audrey karperien
Oops.  I meant to say that the class file has to be compiled into a jar file in the plugins directory.

audrey karperien <[hidden email]> wrote:  I use NetBeans 4.1, and I have to specify that the class file gets compiled into the plugins directory.


"Divakar@Yahoo" wrote:
Hi all,

I have followed instructions at
http://rsb.info.nih.gov/ij/developer/NBTutorial.html and have
the following question:

I copied the source for a plugin into a folder
under plugins. The plugin source as well as the main ImageJ
project compiles and runs without
complaint. However, when I select the plugin from
Plugins menu, I get a dialog box saying "Plugin not
found: plugin-name".

Is there any class path to be set somewhere so that the
plugin class file that has been created under the
plugins\sub-folder folder can be found by the ImageJ running
through NetBeans IDE? I have tried changing ImageJ properties
but so far not found anything useful.

Thanks,
Div.



__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: NetBeans and Image

Divakar Ramachandran
Thanks. Would the jar file work the same as a .class file that
plugins are usually made available as, for use on another lab
machine where I do not have NetBeans installed? And how is this
set in NetBeans?

Regards,
Divakar


--- audrey karperien <[hidden email]> wrote:

> Oops.  I meant to say that the class file has to be compiled
> into a jar file in the plugins directory.
>
> audrey karperien <[hidden email]> wrote:  I use NetBeans
> 4.1, and I have to specify that the class file gets compiled
> into the plugins directory.
>
>
> "Divakar@Yahoo" wrote:
> Hi all,
>
> I have followed instructions at
> http://rsb.info.nih.gov/ij/developer/NBTutorial.html and have
> the following question:
>
> I copied the source for a plugin into a folder
> under plugins. The plugin source as well as the main ImageJ
> project compiles and runs without
> complaint. However, when I select the plugin from
> Plugins menu, I get a dialog box saying "Plugin not
> found: plugin-name".
>
> Is there any class path to be set somewhere so that the
> plugin class file that has been created under the
> plugins\sub-folder folder can be found by the ImageJ running
> through NetBeans IDE? I have tried changing ImageJ properties
> but so far not found anything useful.
>
> Thanks,
> Div.
>
>
>
> __________________________________________________________
> Yahoo! India Matrimony: Find your partner now. Go to
> http://yahoo.shaadi.com
>



---------------------------------
 Divakar@Yahoo
---------------------------------



               
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Reply | Threaded
Open this post in threaded view
|

Re: NetBeans and Image

audrey karperien
Hi.  The jar file has to have an underscore in its name, e.g., myplugin_.jar.  On the project in NetBeans, I right mouse click then click Properties>Build>Packaging, then under JAR file I have the path to the jar file in the plugins directory.  NetBeans compiles it and puts it there and ImageJ sees it when I run it under NetBeans or by itself.  
 
"Divakar@Yahoo" <[hidden email]> wrote:
  Thanks. Would the jar file work the same as a .class file that
plugins are usually made available as, for use on another lab
machine where I do not have NetBeans installed? And how is this
set in NetBeans?

Regards,
Divakar


--- audrey karperien wrote:

> Oops. I meant to say that the class file has to be compiled
> into a jar file in the plugins directory.
>
> audrey karperien wrote: I use NetBeans
> 4.1, and I have to specify that the class file gets compiled
> into the plugins directory.
>
>
> "Divakar@Yahoo" wrote:
> Hi all,
>
> I have followed instructions at
> http://rsb.info.nih.gov/ij/developer/NBTutorial.html and have
> the following question:
>
> I copied the source for a plugin into a folder
> under plugins. The plugin source as well as the main ImageJ
> project compiles and runs without
> complaint. However, when I select the plugin from
> Plugins menu, I get a dialog box saying "Plugin not
> found: plugin-name".
>
> Is there any class path to be set somewhere so that the
> plugin class file that has been created under the
> plugins\sub-folder folder can be found by the ImageJ running
> through NetBeans IDE? I have tried changing ImageJ properties
> but so far not found anything useful.
>
> Thanks,
> Div.
>
>
>
> __________________________________________________________
> Yahoo! India Matrimony: Find your partner now. Go to
> http://yahoo.shaadi.com
>



---------------------------------
Divakar@Yahoo
---------------------------------




__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com