Bump to pom-scijava 1.147

Signed-off-by: Jenkins <jenkins@dev.loci.wisc.edu>
Bump to pom-scijava 1.148

Signed-off-by: Jenkins <jenkins@dev.loci.wisc.edu>
Use new ij1-patcher version

This will be needed for the upcoming fix to bin/write-headless.jar.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Adapt bin/write-headless-jar.bsh to new ij1-patcher

Things are now a bit different. Easier, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Teach write-headless-jar a full and/or non-headless mode

It is really handy to have an ij1-patched drop-in replacement for ij.jar
in case you cannot modify the startup procedure as the ImageJ launcher
does. This change allows you to write that with

	write-headless.jar --no-headless --full-jar patched.jar

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix FijiTools.isDeveloper()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Let FijiTools#getFileExtension hand off to scijava-common

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Avoid overriding the legacy initializer

A much better way is to let LegacyInitializer do its job and declare
a service (that we might want to use for more Fiji-specific stuff
later) that the SciJava Context will discover and initialize.

That way, Fiji gets handled properly even when started from a patched
ij.jar written out by "write-headless-jar --no-headless --full-jar"
(because we no longer have to override things before starting the
LegacyEnvironment, or for that matter, patched ij.ImageJ).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'write-headless-jar'

This topic branch fixes ./Build.sh misc/headless.jar and makes the startup
of Fiji more robust by avoiding a Fiji-specific override of the default
startup procedure of ij1-patcher & ij-legacy.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ImageJ.sh: support the --debugger option of ij-launcher, too

The --debugger option comes in real handy when debugging in Eclipse.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Build.sh: delete ij-minimaven.jar to avoid confusion with minimaven.jar

This patch is only needed for the time until Fiji depends on a newer
version of ImageJ2 than 2.0.0-beta-7.7. It will be no longer needed
then because ImageJ2's bleeding edge already switched to using
net.imagej:minimaven.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump to pom-scijava 1.149

Signed-off-by: Jenkins <jenkins@dev.loci.wisc.edu>
Use a newer version of the JRuby uberjar

Version 1.6.7.2 bundled an unshaded-but-incompatible (with Bio-Formats)
version of joda time. The new version works.

Upon cursory inspection, the JAR may still not be shading joda time, but
if not, it must be a newer version that works with Bio-Formats because
the NoSuchMethodErrors are gone and things work again.