Exclude mapdb and udunits from the updater URLs

The URLs for use in the updater bootstrapper are determined from the
dependencies on the update site itself. However, since imagej-updater
depends on imagej-common, which in turn depends on scifio, we would end
up with dependencies that are actually not needed for the updater to run
(not even for the updater GUI). So let's exclude them from the update
URLs explicitly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Hardcode the WebDAV uploader into the updater URLs

This should help with repairing things on the personal update sites
(which can be uploaded to via WebDAV).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update the updater URLs

The Fix_Updater.js script is made available via
http://update.imagej.net/bootstrap.js to bootstrap or fix installations
in case things go south.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: in debug mode, report the imagej.dir setting

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: skip /jars/ suffix from ij.jar location for imagej.dir

When determining the valid imagej.dir setting in case it has not been
set, we fall back to guess it from the location of the ij.jar file. If
that file is inside jars/, we know it is one level below the top-level
directory...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix_Updater.js: avoid installing the updater right away

There is a special mode in the ImageJ updater GUI that allows to update
the updater itself. To prevent an eternal loop in such a case, we have a
cunning hack in place: the thread name is set specifically to indicate
that we're currently updating the updater and that there is no need to
update it.

Since the Fix_Updater.js script is intended to run a known-good version
of the updater, let's not enforce it to be downloaded and installed, but
let's run the updater from the remote URLs instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'updater-updates'

Update the updater URLs and work a little bit more to make the script
useful under even more circumstances.

In particular, we now want to support the case that ImageJ 1.x was run
by double-clicking the ij.jar file in jars/ directly, calling
File>Import>URL... with the URL http://update.imagej.net/bootstrap.js
and then running it with Ctrl+J (or Command+J on MacOSX).

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