Login  Register

Re: Eclipse woes

Posted by ctrueden on Nov 25, 2015; 8:01pm
URL: http://imagej.273.s1.nabble.com/Eclipse-woes-tp5015004p5015034.html

Hi Avital & Gabriel,

I second Jan's suggestion to copy the minimal-ij1-plugin and use Maven.
There are many advantages. The tutorial on the imagejdocu wiki is long and
complex and less up-to-date.

If you use Maven you will get source browsing for free, and dependency
management nearly for free.

See also these articles:
*
http://imagej.net/Introduction_into_Developing_Plugins#Getting_started_with_Maven
* http://imagej.net/Writing_plugins

The following video tutorial might also be informative, although it is a
little outdated now too:
* https://www.youtube.com/watch?v=XyfE_fVphCs

Regards,
Curtis

On Tue, Nov 24, 2015 at 2:15 AM, Jan Eglinger <[hidden email]>
wrote:

> Hi Gabriel and Avital,
>
> for developing a new plugin, this is a very good starting point:
>
> https://github.com/imagej/minimal-ij1-plugin/
>
> When you import this project into Eclipse, you get a working maven project
> that inherits from ImageJ's parent project 'pom-imagej'.
>
> Best,
> Jan
>
>
>
> On 24.11.2015 06:35, Avital Steinberg wrote:
>
>> Hi Gabriel,
>> I used the following detailed tutorial:
>>
>>
>> http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_howto
>>
>> Search for the following sentence in order to get to the part you're
>> looking for:
>>
>> Create a new plugin (or import your previously developed plugins).
>>
>> Good luck,
>> Avital
>>
>> On Mon, Nov 23, 2015 at 6:46 PM, Gabriel Landini <[hidden email]>
>> wrote:
>>
>> Hi, until now I have used just a simple text editor to code plugins, but
>>> things are starting to get more complex so I decided to  install Eclipse
>>> (Mars.1 under linux). I managed to create a new project and import the
>>> ImageJ1
>>> code and it runs fine.
>>>
>>> However I found 2 issues that I am not sure how to resolve:
>>>
>>> 1. This one is minor: running from Eclipse, the Help>About ImageJ does
>>> not
>>> show the background image as in the compiled version. Is that normal? If
>>> not,
>>> how do I resolve it?
>>>
>>> 2.  I am stuck on how to create a new plugin with this setup.  The
>>> tutorials
>>> online are for much older versions of Eclipse and things do not seem to
>>> be
>>> where they should.
>>> Do I just add a new Project? Do I add sub-folders under the /src/plugin/
>>> folder? Do I need to create a new build folder for the plugins?
>>>
>>> Many thanks for any hints.
>>> Cheers
>>>
>>> Gabriel
>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>>
>>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html