ImageJ autoupdate

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

ImageJ autoupdate

Przemko
Hi!
I was just wondering, would it be possible to have ImageJ to check for
updates automatically every time the program is launched? And then give
an option, update, don't update, ask in a month etc... All that the
program would have to do is compare the dates of the imagej.jar files (I
think- never programmed before :). Could it be done?
Przemko

--
         Przemko Tylzanowski Ph.D.
         LSD & Joint, box 813-GREEN
         O & N
         University of Leuven
         Herestraat 49
         3000 Leuven
         Belgium
         
         phone: (32-16)34-61-96
         fax  : (32-16)34-62-00
         


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ autoupdate

Gabriel Landini
On Wednesday 09 August 2006 09:17, Przemko wrote:
> I was just wondering, would it be possible to have ImageJ to check for
> updates automatically every time the program is launched? And then give
> an option, update, don't update, ask in a month etc... All that the
> program would have to do is compare the dates of the imagej.jar files (I
> think- never programmed before :). Could it be done?

Yes, it is a good idea. This has been thought about before. I added it
recently to the wishlist in the tudor site:

http://imagejdocu.tudor.lu/imagej-documenation-wiki/wishlist

(if you are registered, you can also add items to the wishlist).

Two things come to mind:
1. I do not think it is sensible to have it *every* time the program is
launched, but as a separate command that one wants to run.
One reason is privacy/security (not that I mind Wayne knowing that I am
running IJ, I am sure he already knows that I am running it every day ;-) )
but the rather that programs better not be doing things that one does not
have knowledge or control.
Perhaps this is also likely to generate a lot of unnecessary traffic and will
delay the launching of the program itself while dealing with the connection
to the IJ site depending on whether the computer is online, the server is
online, etc.

Also the note that updates come about twice a month (so it is overkill to
check it every time you run IJ) and the daily updates are not documented (so
you do not know what is different).

2. Somebody will have to come with a way of downloading the ij.jar file and
overwrite it while IJ is running. This causes problems. If I overwrite this
file, at least in linux, I have problems shutting down IJ to restart.

If such command was implemented, it would be a good idea to also download to
the IJ directory the functions.html and the notes.html files, and add links
to these in the Help menu.
I do not know how easy it would be to add a checksum to the download to verify
the integrity of the download, but perhaps it would be a plus.

Cheers,

Gabriel
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ autoupdate

dscho
In reply to this post by Przemko
Hi,

On Wed, 9 Aug 2006, Przemko wrote:

> I was just wondering, would it be possible to have ImageJ to check for
> updates automatically every time the program is launched?

Java WebStart comes to mind.

Hth,
Dscho