Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Help > "Check for Updates" checks only once
Help > "Check for Updates" checks only once [message #489221] Thu, 01 October 2009 22:18 Go to next message
Eric Jain is currently offline Eric JainFriend
Messages: 266
Registered: July 2009
Senior Member
Looks like an actual check is only performed once; subsequent checks return the previously found list of updates (or report "there is nothing to update") even if new versions have become available. Confirmed that no attempt is made to connect to any update sites (monitoring network activity). After restarting and checking again, the new updates are found.

Perhaps there is some caching (with a timeout?) going on here? Has anyone else noticed this behavior? Can it be configured? What's the best way to debug what's going on?
Re: Help > "Check for Updates" checks only once [message #489336 is a reply to message #489221] Fri, 02 October 2009 13:43 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
I tried a simple test:

1. Create a new plug-in project.
2. Create a new feature project.
3. Export the feature with repository to a local directory.
4. Install new feature from local repo
5. Help -> Check for Updates - > no updates found (OK)
6. Export the feature again to same local repo
7. Help -> Check for Updates -> no updates found (wrong)
8. Restart
9. Help -> Check for Updates -> found new updates (correct)

Looks like I am seeing similar to what you are. This may be working as designed (I am aware of intentional caching capabilities), but might be worthwhile to open a bug against RT -> Equinox -> p2 just to confirm.
Re: Help > "Check for Updates" checks only once [message #489377 is a reply to message #489221] Fri, 02 October 2009 16:22 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Eric Jain wrote:

> Looks like an actual check is only performed once; subsequent checks
> return the previously found list of updates (or report "there is nothing
> to update") even if new versions have become available. Confirmed that no
> attempt is made to connect to any update sites (monitoring network
> activity). After restarting and checking again, the new updates are found.

There's a hidden treasure around:
If you know what software site you expect an update from
- open "Available Software Sites"
- select a site
- hit "Test Connection"
This does a refresh for that particular site.

HTH
Stephan
Re: Help > "Check for Updates" checks only once [message #489380 is a reply to message #489377] Fri, 02 October 2009 17:11 Go to previous messageGo to next message
Eric Jain is currently offline Eric JainFriend
Messages: 266
Registered: July 2009
Senior Member
Stephan Herrmann wrote on Fri, 02 October 2009 12:22
There's a hidden treasure around:
If you know what software site you expect an update from
- open "Available Software Sites"
- select a site
- hit "Test Connection"
This does a refresh for that particular site.


Interesting workaround...

I've reported the issue here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291230

[Updated on: Fri, 02 October 2009 17:15]

Report message to a moderator

Re: Help > "Check for Updates" checks only once [message #489402 is a reply to message #489380] Fri, 02 October 2009 19:45 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
The test connection is the workaround. I have added some ideas to the bug report.
Previous Topic:CXF
Next Topic:How do I deploy a webservice to embedded Jetty or Tomcat?
Goto Forum:
  


Current Time: Fri Apr 26 11:47:54 GMT 2024

Powered by FUDForum. Page generated in 0.03121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top