MiniMaven: write the manifest to target/classes/

... rather than making it on the fly when writing the .jar file. This is
more in line with how Maven works...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
MiniMaven: special-case the Fiji Updater

Since the original Fiji Updater checksummed the contents of the .jar files
byte for byte, output from Maven was considered different with every new
build. For this reason, the ImageJ Updater special-cases a couple of file
types and skips e.g. the timestamps in .properties files.

Since we would like the original Fiji Updater to update itself, at least,
and since it verifies the checksum of the downloaded file, we need to make
sure that the file Fiji_Updater.jar does not contain such fiddly files.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater: add some functions to access the ImageJ Updater

This is the first commit to finish the move of the Fiji Updater into the
code base of ImageJ2.

The idea: Fiji will transparently hand off to the ImageJ Updater as
included in ImageJ 2.0.0-beta3.

We will keep the Fiji Updater as this rudimentary ImageJ1 plugin which
knows only to run the ImageJ Updater, and how to load it from the Update
Site of ImageJ2 if it is not available locally yet.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater: add more functions to access the ImageJ Updater

We would also like to let it handle the up-to-date check.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Special-case the first ImageJ Updater run

We want to make sure that the Fiji Update site is added as second one,
even if the user never updated with the Fiji Updater before.

In the same run, we would like to make sure that the ImageJ Updater is
available locally the next time the user calls Help>Update Fiji.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bug Submitter: use the new functions of the ImageJ Updater

The Fiji Updater is dead. Long live the ImageJ Updater!

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Package Maker: use the new functions of the ImageJ Updater

The Fiji Updater is dead. Long live the ImageJ Updater!

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update Fiji: Use the ImageJ Updater

The Fiji Updater is dead. Long live the ImageJ Updater!

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Complete the move of the Fiji Updater into ImageJ's code base

We only retain the 'quick' mode for the up-to-date check, just in case
some joker updates only Fiji_Updater.jar but not fiji-compat.jar (which
would mean that the Up-to-date check upon startup still would look for the
plugin fiji.updater.UptodateCheck)...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update calculate-checksums.bsh to use the ImageJ Updater

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater: make sure that the log4j, sezpoz dependencies are taken care of

For regular Fiji, this does not matter, as we bundle several components
requiring log4j. But we would actually love to be able to use the updater
in bootstrap mode, too, and what better way than to use the
Fiji_Updater.jar as a stand-alone .jar? So let's make sure that all the
dependencies of the Updater are copied locally before calling the updater.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Refactor the ImageJ Updater Adapter

To be able to run from the command-line without any dependency on ij.jar,
we would like to be able to call the adapter (which accesses a known-good
version of the ImageJ Updater) as-is, with just Fiji_Updater.jar in the
class path (and actually with the main-class still stored in the manifest;
this class will be re-added as a light-weight one in the next commit).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Abstract out user interface for the ImageJ Updater adapter

We'd like to run the command-line Updater without any ImageJ 1.x
dependency... so we need to define an interface that will be implemented
both by an ImageJ 1.x and a stderr adapter.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater adapter: add a stderr-based user interface

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add back the Main and Bootstrap classes of the Updater

Of course, they now really only hand off to the ImageJ Updater...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
wip