Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to remove non existing repositories?
How to remove non existing repositories? [message #1841455] Mon, 17 May 2021 14:47 Go to next message
torsten piotraschke is currently offline torsten piotraschkeFriend
Messages: 16
Registered: October 2017
Junior Member
I have had following dependencies in my project setup:
https://github.com/fraenkelc/buildship3_setuptask/issues/2
https://github.com/GuavaEclipsePlugin/GuavaEclipsePluginParent/issues/42

fraenkelc responded with a solution to replace his dependency with the now official oomph gradle import task.

However, I'm not able to remove his old dependency. I removed the following old namespace, task, requirement, and repository from my project setup:

    xmlns:gradle="[url]http://www.github.com/fraenkelc/buildship3_setuptask/1.0[/url]"
<requirement
        name="com.github.fraenkelc.oomph.gradle.feature.group"
        versionRange="[1.3.0.20190411201429,1.3.0.20190411201429]"/>
<repository
        url="[url]http://dl.bintray.com/fraenkelc/buildship3_setuptask/updates[/url]"/>
  <setupTask
      xsi:type="oomph:GradleImportTask">
    <sourceLocators
        rootFolder="${git.clone.virtualplant.git.location}"
        locateNestedProjects="true"/>
    <preSynchronizatonTasks>buildship</preSynchronizatonTasks>
  </setupTask>

Then I tried adding the Projects Import, which I believe is the new official import task, I am looking for:
New child -> Addional Tasks -> Projects Import... -> http://download.eclipse.org/oomph/updates/milestone/latest -> org.eclipse.oomph.setup.projects

But when hitting the install button it fails with:

No repository found at http://dl.bintray.com/fraenkelc/buildship3_setuptask/updates.
No repository found at https://dl.bintray.com/guavaeclipseplugin/GuavaEclipsePlugin/latest/.

I opened the Oomph installer's Bundle Pool Manager, cleared the cache, used the clean up agent. I did the same with the eclipse's Bundle Pool Manager and clean up agent.

I also selected the fraenkelc and guava artifacts in the eclipse's clean up agent and marked them as "delete selected". However, they only get a red cross icon and don't get actually removed. Also these errors persist, when I try to install "Projects Import...":

No repository found at http://dl.bintray.com/fraenkelc/buildship3_setuptask/updates.
No repository found at https://dl.bintray.com/guavaeclipseplugin/GuavaEclipsePlugin/latest/.

[Updated on: Mon, 17 May 2021 14:48]

Report message to a moderator

Re: How to remove non existing repositories? [message #1841469 is a reply to message #1841455] Tue, 18 May 2021 05:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
That's a bit tricky because the model itself tells where to find the updates for it:

https://github.com/eclipse/buildship/blob/35d01caad3ab023fdd9fdf4a1b9e9c738bff7fd0/org.eclipse.buildship.oomph/model/GradleImport-1.0.ecore#L11-L15

So if you have an older version installed that is referring to the bin tray locations in the model, the setup task performer will always want to automatically pull in those locations (available in the physically installed plugin ) into the p2 task.

You'd need to uninstall the older version. Alternatively (and easier) use two redirection tasks to redirect each of the failing URLs to the new URL https://download.eclipse.org/buildship/updates/latest. You might use Navigate -> Open Setup -> Installation to do these redirections only in the one Installation that you want to update...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to remove non existing repositories? [message #1841482 is a reply to message #1841469] Tue, 18 May 2021 16:40 Go to previous message
torsten piotraschke is currently offline torsten piotraschkeFriend
Messages: 16
Registered: October 2017
Junior Member
Thank you very much, Ed. It's always a pleasure to look for help in this forum.

Here are my further solution steps for reference:

I followed the instructions provided by fraenkelc and could get my old project setup to work again: https://github.com/fraenkelc/buildship3_setuptask/issues/2

Instead of using "New child -> Addional Tasks -> Projects Import... -" I had to modify my project.xml the way it is described in the fraenkelc link, I posted above, using the oomph:GradleImportTask, the corresponding namespace and the buildship schemaLocations.

Unfortunately I had to remove the Checkstyle and Guava plugins, since I didn't find a working update site yet. But my project also works without them.
Previous Topic:error when install Eclipse (2021-03)
Next Topic:Difference between "cleanup" and "sp_cleanup" prefix?
Goto Forum:
  


Current Time: Tue Dec 07 19:38:10 GMT 2021

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

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

Back to the top