Update site with multiple plugin versions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Update site with multiple plugin versions

ctrueden
Hi Wilhelm,

> following your suggestion, I finally managed to set up a Fiji update
> site ("ImagingBook") for our code.

That's great!

> Since ImageJ/Fiji is sensitive for identical plugin names, only one
> set should be installed at any time. Would you recommend to set up a
> separate update site for each collection or do you see any better
> solution?

If later editions of the book maintain backwards compatibility with older
editions, you can have a single update site that simply ships the latest
version of the plugins, and it should work with older editions of the book.

But it sounds like later editions are not backwards compatible, in which
case multiple update sites are the recommended solution. E.g., you could
have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.

As an example: I maintain an OMERO-5.0 update site with tools for
connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not
backwards compatible, so there will need to be a separate OMERO-5.1 update
site for it.

Alternately, if you have control over the Java package names, you can
instead use a different package name for each edition. But since your book
is already published in several editions and presumably includes code
examples that all use the same Java package names, that solution would not
work for you.

Regards,
Curtis

On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <
[hidden email]> wrote:

> Hello Curtis,
>
> following your suggestion, I finally managed to set up a Fiji update site
> ("ImagingBook") for our code.
>
> Our installation provides alternative sets of plugins (i.e., jars for
> different book editions), which largely contain the same plugins (though in
> different Java packages) plus a single common library (located in /jars).
> Since ImageJ/Fiji is sensitive for identical plugin names, only one set
> should be installed at any time. Would you recommend to set up a separate
> update site for each collection or do you see any better solution?
>
> Thanks much,
> Wilhelm
>
>
> > -----Original Message-----
> > From: Burger Wilhelm
> > Sent: Friday, December 05, 2014 10:46 PM
> > To: [hidden email]
> > Cc: Burger Wilhelm
> > Subject: RE: Hough transform problem Edge detection
> >
> > Hello Curtis,
> >
> > yes I did. Our source code is currently undergoing major restructuring
> and
> > migration. I have not used the Updater so far - is it also available in
> vanilla
> > ImageJ or do I need to run Fiji? Is there any support for SVN?
> >
> > Thanks much,
> > Wilhelm
> >
> > ________________________________________
> > From: ImageJ Interest Group [[hidden email]] On Behalf Of Curtis
> > Rueden [[hidden email]]
> > Sent: Friday, December 05, 2014 22:17
> > To: [hidden email]
> > Subject: Re: Hough transform problem Edge detection
> >
> > Hi Wilhelm,
> >
> > > thanks for mentioning our "fabulous" collection
> >
> > Have you considered making an ImageJ update site?
> >    http://imagej.net/Update_Sites
> >
> > It would make installation easier for users.
> >
> > Regards,
> > Curtis
> >
> ist: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Burger Wilhelm
Hello Curtis,

thanks much for you instant advice!

The plugins for all book editions are in fact compatible with the most recent version and we do have control over (and use) the package structure. We wrapped each edition into a separate JAR file which contains a distinct Java package for each book chapter. Thus -- Java-wise -- all book editions could coexist peacefully together in one plugins folder (though this would create an overly long menu list). However, ImageJ's plugin loader seems to check for identical class names and disregards the package structure, consequently raising duplicate plugin errors when two editions (with identical plugin names) are present at the same time.

I believe the best solution is, as you suggested, to set up a specific update site for each edition.

Thanks much again,

Wilhelm
www.imagingbook.com<http://www.imagingbook.com/>

___
PS: Our complete ImageJ code is also available at SourceForge now (see http://sourceforge.net/projects/imagingbook).


________________________________
From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
Sent: Thursday, February 05, 2015 19:34
To: Burger Wilhelm
Cc: ImageJ Interest Group
Subject: Update site with multiple plugin versions

Hi Wilhelm,

> following your suggestion, I finally managed to set up a Fiji update
> site ("ImagingBook") for our code.

That's great!

> Since ImageJ/Fiji is sensitive for identical plugin names, only one
> set should be installed at any time. Would you recommend to set up a
> separate update site for each collection or do you see any better
> solution?

If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.

But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.

As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.

Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.

Regards,
Curtis

On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
Hello Curtis,

following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.

Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?

Thanks much,
Wilhelm


> -----Original Message-----
> From: Burger Wilhelm
> Sent: Friday, December 05, 2014 10:46 PM
> To: [hidden email]<mailto:[hidden email]>
> Cc: Burger Wilhelm
> Subject: RE: Hough transform problem Edge detection
>
> Hello Curtis,
>
> yes I did. Our source code is currently undergoing major restructuring and
> migration. I have not used the Updater so far - is it also available in vanilla
> ImageJ or do I need to run Fiji? Is there any support for SVN?
>
> Thanks much,
> Wilhelm
>
> ________________________________________
> From: ImageJ Interest Group [[hidden email]<mailto:[hidden email]>] On Behalf Of Curtis
> Rueden [[hidden email]<mailto:[hidden email]>]
> Sent: Friday, December 05, 2014 22:17
> To: [hidden email]<mailto:[hidden email]>
> Subject: Re: Hough transform problem Edge detection
>
> Hi Wilhelm,
>
> > thanks for mentioning our "fabulous" collection
>
> Have you considered making an ImageJ update site?
>    http://imagej.net/Update_Sites
>
> It would make installation easier for users.
>
> Regards,
> Curtis
>
ist: http://imagej.nih.gov/ij/list.html


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Burger Wilhelm
In reply to this post by ctrueden
Hello Curtis,

I seem to be too stupid to use Fiji update sites properly...

I have locally modified jar files that I want to upload to my update site(s). However (with Fiji updated, using the ImageJ updater in Advanced Mode and after reading the instructions over and over) right-clicking on the local file gives me only these options:
- Keep as-is,
- Update,
- Uninstall.
No 'Upload to My Site' option anywhere (unlike described in the wiki). How do I re-connect to 'my sites', anywhere to register/log in again?

Thanks for any hints...

--Wilhelm


________________________________
From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
Sent: Thursday, February 05, 2015 19:34
To: Burger Wilhelm
Cc: ImageJ Interest Group
Subject: Update site with multiple plugin versions

Hi Wilhelm,

> following your suggestion, I finally managed to set up a Fiji update
> site ("ImagingBook") for our code.

That's great!

> Since ImageJ/Fiji is sensitive for identical plugin names, only one
> set should be installed at any time. Would you recommend to set up a
> separate update site for each collection or do you see any better
> solution?

If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.

But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.

As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.

Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.

Regards,
Curtis

On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
Hello Curtis,

following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.

Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?

Thanks much,
Wilhelm



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

ctrueden
Hi Wilhelm,

First, make sure you have credentials entered for your site in the Manage
Update Sites dialog.

Then, make sure no files are flagged for update--the "View changes" mode is
very useful for that. After marking any such files with "keep as is" the
upload option should magically appear.

I agree it is very unintuitive. Would you mind filing an issue on GitHub
(imagej/imagej-updater repo) to improve the behavior?

Thanks,
Curtis
On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]>
wrote:

>  Hello Curtis,
>
> I seem to be too stupid to use Fiji update sites properly...
>
> I have locally modified jar files that I want to upload to my update
> site(s). However (with Fiji updated, using the ImageJ updater in Advanced
> Mode and after reading the instructions over and over) right-clicking on
> the local file gives me only these options:
> - Keep as-is,
> - Update,
> - Uninstall.
> No 'Upload to My Site' option anywhere (unlike described in the wiki). How
> do I re-connect to 'my sites', anywhere to register/log in again?
>
> Thanks for any hints...
>
> --Wilhelm
>
>
>  ------------------------------
> *From:* [hidden email] [[hidden email]] On Behalf Of
> Curtis Rueden [[hidden email]]
> *Sent:* Thursday, February 05, 2015 19:34
> *To:* Burger Wilhelm
> *Cc:* ImageJ Interest Group
> *Subject:* Update site with multiple plugin versions
>
>   Hi Wilhelm,
>
>  > following your suggestion, I finally managed to set up a Fiji update
> > site ("ImagingBook") for our code.
>
>  That's great!
>
>  > Since ImageJ/Fiji is sensitive for identical plugin names, only one
> > set should be installed at any time. Would you recommend to set up a
> > separate update site for each collection or do you see any better
> > solution?
>
>  If later editions of the book maintain backwards compatibility with
> older editions, you can have a single update site that simply ships the
> latest version of the plugins, and it should work with older editions of
> the book.
>
>  But it sounds like later editions are not backwards compatible, in which
> case multiple update sites are the recommended solution. E.g., you could
> have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.
>
>  As an example: I maintain an OMERO-5.0 update site with tools for
> connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not
> backwards compatible, so there will need to be a separate OMERO-5.1 update
> site for it.
>
>  Alternately, if you have control over the Java package names, you can
> instead use a different package name for each edition. But since your book
> is already published in several editions and presumably includes code
> examples that all use the same Java package names, that solution would not
> work for you.
>
>  Regards,
>  Curtis
>
> On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <
> [hidden email]> wrote:
>
>> Hello Curtis,
>>
>> following your suggestion, I finally managed to set up a Fiji update site
>> ("ImagingBook") for our code.
>>
>> Our installation provides alternative sets of plugins (i.e., jars for
>> different book editions), which largely contain the same plugins (though in
>> different Java packages) plus a single common library (located in /jars).
>> Since ImageJ/Fiji is sensitive for identical plugin names, only one set
>> should be installed at any time. Would you recommend to set up a separate
>> update site for each collection or do you see any better solution?
>>
>> Thanks much,
>> Wilhelm
>>
>>
>>
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Burger Wilhelm
Thanks for the rapid help! But how do I "enter credentials" for my site in the Manage Update Sites?? I only see buttons for
- Add my site,
- Add,
- Remove,
- Close.
Right click on any of my sites in the list does nil. "View changes" does not show any files flagged for update. Am I missing something?

--Wilhelm


________________________________
From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
Sent: Saturday, March 28, 2015 13:51
To: Burger Wilhelm
Cc: ImageJ Interest Group
Subject: RE: Update site with multiple plugin versions


Hi Wilhelm,

First, make sure you have credentials entered for your site in the Manage Update Sites dialog.

Then, make sure no files are flagged for update--the "View changes" mode is very useful for that. After marking any such files with "keep as is" the upload option should magically appear.

I agree it is very unintuitive. Would you mind filing an issue on GitHub (imagej/imagej-updater repo) to improve the behavior?

Thanks,
Curtis

On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]<mailto:[hidden email]>> wrote:
Hello Curtis,

I seem to be too stupid to use Fiji update sites properly...

I have locally modified jar files that I want to upload to my update site(s). However (with Fiji updated, using the ImageJ updater in Advanced Mode and after reading the instructions over and over) right-clicking on the local file gives me only these options:
- Keep as-is,
- Update,
- Uninstall.
No 'Upload to My Site' option anywhere (unlike described in the wiki). How do I re-connect to 'my sites', anywhere to register/log in again?

Thanks for any hints...

--Wilhelm


________________________________
From: [hidden email]<mailto:[hidden email]> [[hidden email]<mailto:[hidden email]>] On Behalf Of Curtis Rueden [[hidden email]<mailto:[hidden email]>]
Sent: Thursday, February 05, 2015 19:34
To: Burger Wilhelm
Cc: ImageJ Interest Group
Subject: Update site with multiple plugin versions

Hi Wilhelm,

> following your suggestion, I finally managed to set up a Fiji update
> site ("ImagingBook") for our code.

That's great!

> Since ImageJ/Fiji is sensitive for identical plugin names, only one
> set should be installed at any time. Would you recommend to set up a
> separate update site for each collection or do you see any better
> solution?

If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.

But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.

As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.

Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.

Regards,
Curtis

On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
Hello Curtis,

following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.

Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?

Thanks much,
Wilhelm



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Birgit Möller
In reply to this post by ctrueden
Hi Wilhelm,
I observed the same problem of lacking an option to upload files to our update site when testing update sites. It seems that not the full set of available options is properly shown in the GUI of the updater upon start-up. When I changed the selection once, e.g., from 'Keep as-is' to 'Uninstall', suddenly an additional option to upload the files to our own update site appeared which I then could select. From my observations I would say that the updater lacks somewhere an explicit update of its GUI during start-up, i.e., it seems that first an interaction with the combobox is required to trigger an update event, and only then all options are properly shown.
Regards,

 Birgit

On Sat, 28 Mar 2015 14:03:09 +0100, Burger Wilhelm <[hidden email]> wrote:

>Thanks for the rapid help! But how do I "enter credentials" for my site in the Manage Update Sites?? I only see buttons for
>- Add my site,
>- Add,
>- Remove,
>- Close.
>Right click on any of my sites in the list does nil. "View changes" does not show any files flagged for update. Am I missing something?
>
>--Wilhelm
>
>
>________________________________
>From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
>Sent: Saturday, March 28, 2015 13:51
>To: Burger Wilhelm
>Cc: ImageJ Interest Group
>Subject: RE: Update site with multiple plugin versions
>
>
>Hi Wilhelm,
>
>First, make sure you have credentials entered for your site in the Manage Update Sites dialog.
>
>Then, make sure no files are flagged for update--the "View changes" mode is very useful for that. After marking any such files with "keep as is" the upload option should magically appear.
>
>I agree it is very unintuitive. Would you mind filing an issue on GitHub (imagej/imagej-updater repo) to improve the behavior?
>
>Thanks,
>Curtis
>
>On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]<mailto:[hidden email]>> wrote:
>Hello Curtis,
>
>I seem to be too stupid to use Fiji update sites properly...
>
>I have locally modified jar files that I want to upload to my update site(s). However (with Fiji updated, using the ImageJ updater in Advanced Mode and after reading the instructions over and over) right-clicking on the local file gives me only these options:
>- Keep as-is,
>- Update,
>- Uninstall.
>No 'Upload to My Site' option anywhere (unlike described in the wiki). How do I re-connect to 'my sites', anywhere to register/log in again?
>
>Thanks for any hints...
>
>--Wilhelm
>
>
>________________________________
>From: [hidden email]<mailto:[hidden email]> [[hidden email]<mailto:[hidden email]>] On Behalf Of Curtis Rueden [[hidden email]<mailto:[hidden email]>]
>Sent: Thursday, February 05, 2015 19:34
>To: Burger Wilhelm
>Cc: ImageJ Interest Group
>Subject: Update site with multiple plugin versions
>
>Hi Wilhelm,
>
>> following your suggestion, I finally managed to set up a Fiji update
>> site ("ImagingBook") for our code.
>
>That's great!
>
>> Since ImageJ/Fiji is sensitive for identical plugin names, only one
>> set should be installed at any time. Would you recommend to set up a
>> separate update site for each collection or do you see any better
>> solution?
>
>If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.
>
>But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.
>
>As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.
>
>Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.
>
>Regards,
>Curtis
>
>On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
>Hello Curtis,
>
>following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.
>
>Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?
>
>Thanks much,
>Wilhelm
>
>
>
>--
>ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Burger Wilhelm
Hello Birgit,

thanks for the advice -- this is what Curtis had also suggested. However, I tried these steps several times but the option to upload to an update site never shows (Win7 with Java 8, 64 bits). After spending hours on this I will probably stay clear of update sites until the mechanism has matured.

Thanks again!
Wilhelm

________________________________________
From: ImageJ Interest Group [[hidden email]] On Behalf Of Birgit Möller [[hidden email]]
Sent: Sunday, March 29, 2015 10:51
To: [hidden email]
Subject: Re: Update site with multiple plugin versions

Hi Wilhelm,
I observed the same problem of lacking an option to upload files to our update site when testing update sites. It seems that not the full set of available options is properly shown in the GUI of the updater upon start-up. When I changed the selection once, e.g., from 'Keep as-is' to 'Uninstall', suddenly an additional option to upload the files to our own update site appeared which I then could select. From my observations I would say that the updater lacks somewhere an explicit update of its GUI during start-up, i.e., it seems that first an interaction with the combobox is required to trigger an update event, and only then all options are properly shown.
Regards,

 Birgit

On Sat, 28 Mar 2015 14:03:09 +0100, Burger Wilhelm <[hidden email]> wrote:

>Thanks for the rapid help! But how do I "enter credentials" for my site in the Manage Update Sites?? I only see buttons for
>- Add my site,
>- Add,
>- Remove,
>- Close.
>Right click on any of my sites in the list does nil. "View changes" does not show any files flagged for update. Am I missing something?
>
>--Wilhelm
>
>
>________________________________
>From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
>Sent: Saturday, March 28, 2015 13:51
>To: Burger Wilhelm
>Cc: ImageJ Interest Group
>Subject: RE: Update site with multiple plugin versions
>
>
>Hi Wilhelm,
>
>First, make sure you have credentials entered for your site in the Manage Update Sites dialog.
>
>Then, make sure no files are flagged for update--the "View changes" mode is very useful for that. After marking any such files with "keep as is" the upload option should magically appear.
>
>I agree it is very unintuitive. Would you mind filing an issue on GitHub (imagej/imagej-updater repo) to improve the behavior?
>
>Thanks,
>Curtis
>
>On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]<mailto:[hidden email]>> wrote:
>Hello Curtis,
>
>I seem to be too stupid to use Fiji update sites properly...
>
>I have locally modified jar files that I want to upload to my update site(s). However (with Fiji updated, using the ImageJ updater in Advanced Mode and after reading the instructions over and over) right-clicking on the local file gives me only these options:
>- Keep as-is,
>- Update,
>- Uninstall.
>No 'Upload to My Site' option anywhere (unlike described in the wiki). How do I re-connect to 'my sites', anywhere to register/log in again?
>
>Thanks for any hints...
>
>--Wilhelm
>
>
>________________________________
>From: [hidden email]<mailto:[hidden email]> [[hidden email]<mailto:[hidden email]>] On Behalf Of Curtis Rueden [[hidden email]<mailto:[hidden email]>]
>Sent: Thursday, February 05, 2015 19:34
>To: Burger Wilhelm
>Cc: ImageJ Interest Group
>Subject: Update site with multiple plugin versions
>
>Hi Wilhelm,
>
>> following your suggestion, I finally managed to set up a Fiji update
>> site ("ImagingBook") for our code.
>
>That's great!
>
>> Since ImageJ/Fiji is sensitive for identical plugin names, only one
>> set should be installed at any time. Would you recommend to set up a
>> separate update site for each collection or do you see any better
>> solution?
>
>If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.
>
>But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.
>
>As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.
>
>Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.
>
>Regards,
>Curtis
>
>On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
>Hello Curtis,
>
>following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.
>
>Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?
>
>Thanks much,
>Wilhelm
>
>
>
>--
>ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Birgit Möller
In reply to this post by ctrueden
Hello Wilhelm,
sorry, I missed Curtis' remark. Anyway, in my case, which is on XUbuntu Linux, 64-bit, with Java version "1.6.0_37", it worked that way. Maybe the problem is linked to specific Java versions or operating systems only.
Best regards,

 Birgit

On Sun, 29 Mar 2015 11:44:41 +0200, Burger Wilhelm <[hidden email]> wrote:

>Hello Birgit,
>
>thanks for the advice -- this is what Curtis had also suggested. However, I tried these steps several times but the option to upload to an update site never shows (Win7 with Java 8, 64 bits). After spending hours on this I will probably stay clear of update sites until the mechanism has matured.
>
>Thanks again!
>Wilhelm
>
>________________________________________
>From: ImageJ Interest Group [[hidden email]] On Behalf Of Birgit M�ller [[hidden email]]
>Sent: Sunday, March 29, 2015 10:51
>To: [hidden email]
>Subject: Re: Update site with multiple plugin versions
>
>Hi Wilhelm,
>I observed the same problem of lacking an option to upload files to our update site when testing update sites. It seems that not the full set of available options is properly shown in the GUI of the updater upon start-up. When I changed the selection once, e.g., from 'Keep as-is' to 'Uninstall', suddenly an additional option to upload the files to our own update site appeared which I then could select. From my observations I would say that the updater lacks somewhere an explicit update of its GUI during start-up, i.e., it seems that first an interaction with the combobox is required to trigger an update event, and only then all options are properly shown.
>Regards,
>
> Birgit
>
>On Sat, 28 Mar 2015 14:03:09 +0100, Burger Wilhelm <[hidden email]> wrote:
>
>>Thanks for the rapid help! But how do I "enter credentials" for my site in the Manage Update Sites?? I only see buttons for
>>- Add my site,
>>- Add,
>>- Remove,
>>- Close.
>>Right click on any of my sites in the list does nil. "View changes" does not show any files flagged for update. Am I missing something?
>>
>>--Wilhelm
>>
>>
>>________________________________
>>From: [hidden email] [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
>>Sent: Saturday, March 28, 2015 13:51
>>To: Burger Wilhelm
>>Cc: ImageJ Interest Group
>>Subject: RE: Update site with multiple plugin versions
>>
>>
>>Hi Wilhelm,
>>
>>First, make sure you have credentials entered for your site in the Manage Update Sites dialog.
>>
>>Then, make sure no files are flagged for update--the "View changes" mode is very useful for that. After marking any such files with "keep as is" the upload option should magically appear.
>>
>>I agree it is very unintuitive. Would you mind filing an issue on GitHub (imagej/imagej-updater repo) to improve the behavior?
>>
>>Thanks,
>>Curtis
>>
>>On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]<mailto:[hidden email]>> wrote:
>>Hello Curtis,
>>
>>I seem to be too stupid to use Fiji update sites properly...
>>
>>I have locally modified jar files that I want to upload to my update site(s). However (with Fiji updated, using the ImageJ updater in Advanced Mode and after reading the instructions over and over) right-clicking on the local file gives me only these options:
>>- Keep as-is,
>>- Update,
>>- Uninstall.
>>No 'Upload to My Site' option anywhere (unlike described in the wiki). How do I re-connect to 'my sites', anywhere to register/log in again?
>>
>>Thanks for any hints...
>>
>>--Wilhelm
>>
>>
>>________________________________
>>From: [hidden email]<mailto:[hidden email]> [[hidden email]<mailto:[hidden email]>] On Behalf Of Curtis Rueden [[hidden email]<mailto:[hidden email]>]
>>Sent: Thursday, February 05, 2015 19:34
>>To: Burger Wilhelm
>>Cc: ImageJ Interest Group
>>Subject: Update site with multiple plugin versions
>>
>>Hi Wilhelm,
>>
>>> following your suggestion, I finally managed to set up a Fiji update
>>> site ("ImagingBook") for our code.
>>
>>That's great!
>>
>>> Since ImageJ/Fiji is sensitive for identical plugin names, only one
>>> set should be installed at any time. Would you recommend to set up a
>>> separate update site for each collection or do you see any better
>>> solution?
>>
>>If later editions of the book maintain backwards compatibility with older editions, you can have a single update site that simply ships the latest version of the plugins, and it should work with older editions of the book.
>>
>>But it sounds like later editions are not backwards compatible, in which case multiple update sites are the recommended solution. E.g., you could have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.
>>
>>As an example: I maintain an OMERO-5.0 update site with tools for connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not backwards compatible, so there will need to be a separate OMERO-5.1 update site for it.
>>
>>Alternately, if you have control over the Java package names, you can instead use a different package name for each edition. But since your book is already published in several editions and presumably includes code examples that all use the same Java package names, that solution would not work for you.
>>
>>Regards,
>>Curtis
>>
>>On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <[hidden email]<mailto:[hidden email]>> wrote:
>>Hello Curtis,
>>
>>following your suggestion, I finally managed to set up a Fiji update site ("ImagingBook") for our code.
>>
>>Our installation provides alternative sets of plugins (i.e., jars for different book editions), which largely contain the same plugins (though in different Java packages) plus a single common library (located in /jars). Since ImageJ/Fiji is sensitive for identical plugin names, only one set should be installed at any time. Would you recommend to set up a separate update site for each collection or do you see any better solution?
>>
>>Thanks much,
>>Wilhelm
>>
>>
>>
>>--
>>ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
>--
>ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>--
>ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

ctrueden
In reply to this post by Burger Wilhelm
Hi Wilhelm,

> I tried these steps several times but the option to upload to an
> update site never shows (Win7 with Java 8, 64 bits).

Did you manage to get it working?

* Are you sure your credentials are entered into the "Manage update sites"
dialog's "Host" and "Directory on Host" fields, as described on the wiki
[1]?

* Are you sure your ImageJ does not have any pending updates? It is best to
ensure your ImageJ is 100% up to date [2] and _then_ attempt to upload your
plugins.

> After spending hours on this I will probably stay clear of update
> sites until the mechanism has matured.

I appreciate you taking the time to make the attempt, and communicate your
difficulties. Otherwise, if everyone waits for the software to become
perfect, it never does.

Regards,
Curtis

[1]
http://imagej.net/How_to_set_up_and_populate_an_update_site#Adding_an_update_site_on_your_own_server
[2]
http://imagej.net/FAQ#How_can_I_verify_that_my_ImageJ_is_really_100.25_up_to_date.3F

On Sun, Mar 29, 2015 at 4:44 AM, Burger Wilhelm <
[hidden email]> wrote:

> Hello Birgit,
>
> thanks for the advice -- this is what Curtis had also suggested. However,
> I tried these steps several times but the option to upload to an update
> site never shows (Win7 with Java 8, 64 bits). After spending hours on this
> I will probably stay clear of update sites until the mechanism has matured.
>
> Thanks again!
> Wilhelm
>
> ________________________________________
> From: ImageJ Interest Group [[hidden email]] On Behalf Of Birgit
> Möller [[hidden email]]
> Sent: Sunday, March 29, 2015 10:51
> To: [hidden email]
> Subject: Re: Update site with multiple plugin versions
>
> Hi Wilhelm,
> I observed the same problem of lacking an option to upload files to our
> update site when testing update sites. It seems that not the full set of
> available options is properly shown in the GUI of the updater upon
> start-up. When I changed the selection once, e.g., from 'Keep as-is' to
> 'Uninstall', suddenly an additional option to upload the files to our own
> update site appeared which I then could select. From my observations I
> would say that the updater lacks somewhere an explicit update of its GUI
> during start-up, i.e., it seems that first an interaction with the combobox
> is required to trigger an update event, and only then all options are
> properly shown.
> Regards,
>
>  Birgit
>
> On Sat, 28 Mar 2015 14:03:09 +0100, Burger Wilhelm <
> [hidden email]> wrote:
>
> >Thanks for the rapid help! But how do I "enter credentials" for my site
> in the Manage Update Sites?? I only see buttons for
> >- Add my site,
> >- Add,
> >- Remove,
> >- Close.
> >Right click on any of my sites in the list does nil. "View changes" does
> not show any files flagged for update. Am I missing something?
> >
> >--Wilhelm
> >
> >
> >________________________________
> >From: [hidden email] [[hidden email]] On Behalf Of
> Curtis Rueden [[hidden email]]
> >Sent: Saturday, March 28, 2015 13:51
> >To: Burger Wilhelm
> >Cc: ImageJ Interest Group
> >Subject: RE: Update site with multiple plugin versions
> >
> >
> >Hi Wilhelm,
> >
> >First, make sure you have credentials entered for your site in the Manage
> Update Sites dialog.
> >
> >Then, make sure no files are flagged for update--the "View changes" mode
> is very useful for that. After marking any such files with "keep as is" the
> upload option should magically appear.
> >
> >I agree it is very unintuitive. Would you mind filing an issue on GitHub
> (imagej/imagej-updater repo) to improve the behavior?
> >
> >Thanks,
> >Curtis
> >
> >On Mar 28, 2015 7:29 AM, "Burger Wilhelm" <[hidden email]
> <mailto:[hidden email]>> wrote:
> >Hello Curtis,
> >
> >I seem to be too stupid to use Fiji update sites properly...
> >
> >I have locally modified jar files that I want to upload to my update
> site(s). However (with Fiji updated, using the ImageJ updater in Advanced
> Mode and after reading the instructions over and over) right-clicking on
> the local file gives me only these options:
> >- Keep as-is,
> >- Update,
> >- Uninstall.
> >No 'Upload to My Site' option anywhere (unlike described in the wiki).
> How do I re-connect to 'my sites', anywhere to register/log in again?
> >
> >Thanks for any hints...
> >
> >--Wilhelm
> >
> >
> >________________________________
> >From: [hidden email]<mailto:[hidden email]> [
> [hidden email]<mailto:[hidden email]>] On Behalf Of
> Curtis Rueden [[hidden email]<mailto:[hidden email]>]
> >Sent: Thursday, February 05, 2015 19:34
> >To: Burger Wilhelm
> >Cc: ImageJ Interest Group
> >Subject: Update site with multiple plugin versions
> >
> >Hi Wilhelm,
> >
> >> following your suggestion, I finally managed to set up a Fiji update
> >> site ("ImagingBook") for our code.
> >
> >That's great!
> >
> >> Since ImageJ/Fiji is sensitive for identical plugin names, only one
> >> set should be installed at any time. Would you recommend to set up a
> >> separate update site for each collection or do you see any better
> >> solution?
> >
> >If later editions of the book maintain backwards compatibility with older
> editions, you can have a single update site that simply ships the latest
> version of the plugins, and it should work with older editions of the book.
> >
> >But it sounds like later editions are not backwards compatible, in which
> case multiple update sites are the recommended solution. E.g., you could
> have ImagingBook-1, ImagingBook-2, etc. numbered according to the editions.
> >
> >As an example: I maintain an OMERO-5.0 update site with tools for
> connecting ImageJ to an OMERO 5.0.x server. But OMERO version 5.1.x is not
> backwards compatible, so there will need to be a separate OMERO-5.1 update
> site for it.
> >
> >Alternately, if you have control over the Java package names, you can
> instead use a different package name for each edition. But since your book
> is already published in several editions and presumably includes code
> examples that all use the same Java package names, that solution would not
> work for you.
> >
> >Regards,
> >Curtis
> >
> >On Thu, Feb 5, 2015 at 10:43 AM, Burger Wilhelm <
> [hidden email]<mailto:[hidden email]>>
> wrote:
> >Hello Curtis,
> >
> >following your suggestion, I finally managed to set up a Fiji update site
> ("ImagingBook") for our code.
> >
> >Our installation provides alternative sets of plugins (i.e., jars for
> different book editions), which largely contain the same plugins (though in
> different Java packages) plus a single common library (located in /jars).
> Since ImageJ/Fiji is sensitive for identical plugin names, only one set
> should be installed at any time. Would you recommend to set up a separate
> update site for each collection or do you see any better solution?
> >
> >Thanks much,
> >Wilhelm
> >
> >
> >
> >--
> >ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Update site with multiple plugin versions

Burger Wilhelm
Yes, I finally managed with the much appreciated support by Mark Hiner, who also updated the Wiki instructions. It was a rough ride and I hope to remember how to do it next time ...
Details can be found here: https://github.com/imagej/imagej-updater/issues/45

Thanks for all the help,
Wilhelm


> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
> Curtis Rueden
> Sent: Monday, April 06, 2015 9:13 PM
> To: [hidden email]
> Subject: Re: Update site with multiple plugin versions
>
> Hi Wilhelm,
>
> > I tried these steps several times but the option to upload to an
> > update site never shows (Win7 with Java 8, 64 bits).
>
> Did you manage to get it working?
>
> * Are you sure your credentials are entered into the "Manage update sites"
> dialog's "Host" and "Directory on Host" fields, as described on the wiki
> [1]?
>
> * Are you sure your ImageJ does not have any pending updates? It is best to
> ensure your ImageJ is 100% up to date [2] and _then_ attempt to upload
> your
> plugins.
>
> > After spending hours on this I will probably stay clear of update
> > sites until the mechanism has matured.
>
> I appreciate you taking the time to make the attempt, and communicate your
> difficulties. Otherwise, if everyone waits for the software to become
> perfect, it never does.
>
> Regards,
> Curtis
>
> [1]
> http://imagej.net/How_to_set_up_and_populate_an_update_site#Adding
> _an_update_site_on_your_own_server
> [2]
> http://imagej.net/FAQ#How_can_I_verify_that_my_ImageJ_is_really_100.2
> 5_up_to_date.3F


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