[ImageJ-devel] plugin dev in elcipse

Daniel White dan at chalkie.org.uk
Thu Jul 9 03:40:41 CDT 2015


Hi Mark, Hi Tom
I seem to be having trouble getting the colocalization analysis plugins top
build, this is in Eclipse mars.

I imported the maven project, and imageJ runs fine from eclipse, but i dont
see any place where the coloc .jar is biult and saved? Where should the
built .jar be located by default?

what would a main class look like for running the coloc plugin straight
from ellipse, without having to copy a .jar into another fiji ?

maybe i am missing something at
http://imagej.net/Developing_Fiji_in_Eclipse#Running_and_Debugging
its not obvious for an elclipse noob like me.

cheers

D



On 25 June 2015 at 19:39, Mark Hiner <hiner at wisc.edu> wrote:

> Hi Daniel,
>
> >The Fiji.sc docs describe how to do a plugin in the script editor,
> >or how to develop imageJ itself in eclipse,
> >but not how to get one of the external Fiji plugins, like coloc analysis,
> >and then run Fiji with my hacked plugin code running from eclipse????
>
> This process is described in the Developing Fiji in Eclipse tutorial[1] -
> which I just updated with a bit more information.
>
> >i can run imageJ from there by highlighting the ij jar and doing run as
> java application
>
> If you are running ij.jar from the Maven dependencies of
> Colocalisation_Analysis, then Eclipse is likely just literally executing
> the jar without anything else on the classpath. Using Debug.run will give
> you an ImageJ with your plugin loaded properly.
>
> Also, if you don't want to make a temporary main method, you can always
> build the .jar for your plugin and put it into an existing Fiji
> installation.
>
> Hope that helps.
>
> Best,
> Mark
>
> [1] http://imagej.net/Developing_Fiji_in_Eclipse#Running_and_Debugging
>
>
> On Thu, Jun 25, 2015 at 7:32 AM, Daniel White <dan at chalkie.org.uk> wrote:
>
>> Hi All,
>>
>> I'm setting up my plugin dev environment (win7 x64), by reading the docs
>> on the fiji.sc pages.
>> I got eclipse installed, new JDK installed and seen by eclipse,
>> Colocalization_Analysis plugin cloned from github using github for windows
>> I imported the plugin as described with the import maven project gadget
>> in eclipse,
>> and it got the dependencies as jars apparently.
>>
>> So i can run imageJ from there by highlighting the ij jar and doing run
>> as java application,
>> but the coloc_2 plugin doesnt appear in the Analyze menu??????
>>
>> The Fiji.sc docs describe how to do a plugin in the script editor,
>> or how to develop imageJ itself in eclipse,
>> but not how to get one of the external Fiji plugins, like coloc analysis,
>> and then run Fiji with my hacked plugin code running from eclipse????
>>
>> Can I help fix the docs so noobs like me can get started easier,
>> and in the process get myself up and running with a little help from on
>> of you folks please?
>>
>> cheers
>>
>> Dan White
>>
>> _______________________________________________
>> ImageJ-devel mailing list
>> ImageJ-devel at imagej.net
>> http://imagej.net/mailman/listinfo/imagej-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20150709/e8add88a/attachment.html>


More information about the ImageJ-devel mailing list