Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph: how to update local .setup to the recent remote version
Oomph: how to update local .setup to the recent remote version [message #1809120] Tue, 09 July 2019 12:49 Go to next message
Alexander Fedorov is currently offline Alexander FedorovFriend
Messages: 3
Registered: November 2018
Junior Member
Hello,

I have a setup that is referenced from org.eclipse.projects.setup and located at
https://git.eclipse.org/c/passage/passage.git/plain/releng/org.eclipse.passage.releng/passage.setup

I assumed that I can update it there and the recent version will be used locally. But it doesn't work this way. I tried to delete ~/.eclipse/org.eclipse.oomph.setup/cache/ but it continues to download the version cached somewhere else.

What should I do to see the recent .setup version downloaded and used?

Thanks in advance,
AF
Re: Oomph: how to update local .setup to the recent remote version [message #1809277 is a reply to message #1809120] Fri, 12 July 2019 16:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
One thing that will be helpful is to fix this task:
  <setupTask
      xsi:type="setup:EclipseIniTask"
      disabled="true"
      option="-Doomph.redirection.passage"
      value="=passage/passage.git/plain/releng/org.eclipse.passage.releng/passage.setup->${git.clone.passage.location|uri}/releng/org.eclipse.passage.releng/passage.setup"
      vm="true">
    <description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description>
  </setupTask>

The value to the left of the -> should be exactly "https://git.eclipse.org/c/passage/passage.git/plain/releng/org.eclipse.passage.releng/passage.setup".

To work around this, you can edit the eclipse.ini to change that -D value and restart your IDE. Then the IDE will use the local version in your local Git clone.

The other issue to keep in mind is that no one ever directly access git.eclispe.org because the server could get very unhappy if too many people do that (and that makes the committers and the webmaster unhappy).

So there is a job that builds a zip of all the resource:

https://ci.eclipse.org/oomph/job/setup-archiver/

And unfortunately git.eclipse.org will often serve up stale cached results for some time before it makes it into the zip. And then the web server from which you download also has a bad habit of delivering stale cached content for some time. So it can take as much as a 1/2 hour for the changes to be archived and downloadable.

From within the IDE, you can force a refresh from Window -> Preferences -> Oomph -> Remote Resources "Refresh Remote Cache".
If you use Oomph quite a bit you'll find that enabling Window -> Preferences -> Oomph -> Setup Tasks "Show tool bar contributions" is helpful because it shows a tool bar with two icons from which you can easily open setups and perform setup task (and refresh the remote cache).

Probably your commit should show up by now. If not, please let me know to investigate further.



Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to specify LaunchTask
Next Topic:Setup Task enablement and eclipse version dependent update sites
Goto Forum:
  


Current Time: Wed Apr 24 17:59:56 GMT 2024

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

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

Back to the top