@BishopWolf I’m sorry, but I do not understand your criticism here nor your proposal to fix it. Could you please describe in more detail? Preferably splitting it to a new thread here on the forum, to avoid mixing the discussion with @haesleinhuepf’s issues.
Its very simple, a new thread is not worthy, just add a menu entry that launch the site updater manager without launching the update process itself, then I can launch the updater if i like. Current workflow is way round.
I’m afraid I did it exactly as you say. I just tried again, and this is the result: It says, that the jar was locally modified but gives me no chance to update the update site…
The full info on the plugin is:
plugins/VolumeManager_-1.0.1.jar (local: plugins/VolumeManager_-1.0.2.jar) (Update available) Warning: This file was locally modified. Release date: 14 Jul 2016 Description (from pom.xml) : VolumeManager Author: Platform: Category: Link: Dependencies: jars/ij.jar, jars/imglib2.jar, jars/imglib2-ij.jar, jars/fiji-lib.jar, jars/imglib2-roi.jar, jars/commons-lang3.jar Update site: SCFMPICBG
We see this behaviour here on MacOS as well as on a Windows 7 machine… So there must be something systematic behind…
If I can support you in tracing this bug (?), let me know. I would be very happy if this can be fixed, because also the command line updater has the same (or at least a similar) issue…
@haesleinhuepf is it possible that you have other pending changes, i.e. other files marked for download? In that case, you’ll have to apply these changes first and restart. The updater can only handle one thing at a time, uploading or downloading files.
That’s it! I guess…
So to update my update site, I need to:
- Start FIJI
- Update FIJI
- Close FIJI
- Delete former version of plugin in FIJIs plugin folder
- Copy over new version of plugin
- Start FIJI
- Start updater
- Go to advanced mode
- Mark new plugin to upload to update site
- Apply changes
… I definitely need to make the script running @rimadoma mentioned…
But thanks for the support!
mvn -Dimagej.app.directory=/path/to/your/Fiji.app -Ddelete.other.versions
I didn’t find any more where this was documented, maybe we should add it to the FAQs. The functionality is provided by the Maven ImageJ plugin:
Update personal update site from command line
It is mentioned in these places:
I agree that this feature could be made more clear.
At some point, I would also like to add a flag that causes the
imagej-maven-plugin not to downgrade dependency versions.