[ImageJ-devel] Migrating an ImageJ1 plugin (Git, Ant etc.) to ImageJ2 (Git, Maven)

Johannes Schindelin Johannes.Schindelin at gmx.de
Mon Jul 30 12:41:48 CDT 2012


Hi,

On Mon, 30 Jul 2012, Johannes Schindelin wrote:

> On Sun, 29 Jul 2012, Michael Doube wrote:
>
> > Because the two plugins use different build systems, I've set them up
> > as two separate Eclipse projects, one with the old style (Ant,
> > plugins.config) and one with the new style (Maven, annotations). The
> > two projects work on different branches of the same Git repository, so
> > I can work on both of them simultaneously in the same instance of
> > Eclipse.
>
> If you have a look at, say,
> https://github.com/fiji/fiji/tree/master/src-plugins/Arrow_ you will see
> that it is quite doable to use Maven to build IJ1 plugins without any
> hassle.

Forgot to say explicitly: the trick is to put plugins.config into
src/main/resources/.

Ciao,
Dscho



More information about the ImageJ-devel mailing list