• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any hints on how to write an update checker?  RSS feed

 
Jens Bakara
Greenhorn
Posts: 2
Debian Firefox Browser VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy cowgirls and cowboys.

I'm currently writing a GUI tool that should be able to check if there is a newer version of it available.

The plan is to save a file somewhere in the net which holds the latest version number.
This file get's downloaded every x days and the string gets compared with the version number of the tool running.

Does that sound like a possible solution to you?

Is there anything else that I should think/care about?

What if I lose the domain where the file got saved?


Thanks for any hints and help.

All the best.
Jens
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like something Java Web Start might be able to handle for you without much work on your part.
 
Jens Bakara
Greenhorn
Posts: 2
Debian Firefox Browser VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

I thought more about a solution build in the tool itself rather than using a new "dependency".
The tool should be able to just get started without Web Start etc.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't call JWS a "dependency" - it's a solution to the app distribution and update problem. An app doesn't need to do anything to avail itself of JWS; setting up the JNLP file is all that's required.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!