Login  Register

Re: Fiji : entries in plugins/ subfolder not sorted alphabetically anymore

Posted by dscho on Jun 23, 2014; 9:07pm
URL: http://imagej.273.s1.nabble.com/Fiji-entries-in-plugins-subfolder-not-sorted-alphabetically-anymore-tp5008316p5008381.html

Hi Christophe,

On Sat, 21 Jun 2014, Johannes Schindelin wrote:

> On Thu, 19 Jun 2014, Christophe Leterrier wrote:
>
> > I noticed that my own macros and scripts located in subfolders of plugins/
> > (with an underscore in their name to make them appear in the Plugins menu)
> > are not sorted alphabetically anymore. It is difficult to tell what decides
> > of the order now. Is it an intended behavior?
>
> It was not intended... I fixed it in a topic branch:
>
> https://github.com/imagej/imagej-legacy/pull/62
>
> Feel free to check it out!

Oh, bummer! I forgot to send explicit instructions how you could build it
at home. Just for the record:

- download and install Git from http://git-scm.com/ (unless you already
  have it)

- download and install Maven from http://maven.apache.org/ (unless you
  already have it)

- run this in your console:

        git clone https://github.com/imagej/imagej-legacy
        cd imagej-legacy
        git fetch origin refs/pull/62/merge
        git checkout FETCH_HEAD
        mvn -Dimagej.app.directory="$HOME/Desktop/Fiji.app/"

  This assumes that you have an up-to-date Fiji on your Desktop; if it is
  somewhere else, you'll need to adjust the imagej.app.directory setting.

In the meantime, I merged it to our 'master' branch, i.e. what constitutes
our current development revision at any given time -- unfortunately
without any feedback whether it fixes the issue to your liking.

Therefore, you can now test it even without having to recompile it
yourself: just download it from
http://jenkins.imagej.net/job/ImageJ-legacy/lastSuccessfulBuild/artifact/target/imagej-legacy-0.5.18-SNAPSHOT.jar
and replace your Fiji.app/jars/imagej-legacy-0.5.17.jar with the
development version.

Ciao,
Johannes

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