Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Targlets: Director cannot find workspace_requirements and fails
Targlets: Director cannot find workspace_requirements and fails [message #1742467] Fri, 02 September 2016 03:57 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 326
Registered: December 2015
Senior Member
Ciao,

anyone knows what the 'workspace_requirements' IU stands for? My targlet setup fails like shown below.

[2016-09-02 05:48:20] Performing Targlets Modular Target (Capella Dependencies + Capella Features + Capella Sourcelocator Targlet + Capella Tests + Eclipse Platform), activate
[2016-09-02 05:48:20] Repository http://download.eclipse.org/sirius/updates/stable/4.1.0-S20160826-110122/mars
[2016-09-02 05:48:20] Repository http://download.eclipse.org/sirius/updates/legacy/1.1.0
[2016-09-02 05:48:20] Repository https://hudson.eclipse.org/diffmerge/job/buckminster-emf-diffmerge-master/122/artifact/result/publish/org.eclipse.emf.diffmerge.scm.feature/site.p2
[2016-09-02 05:48:20] Repository http://download.eclipse.org/diffmerge/releases/0.7.0/edm-patterns-site
[2016-09-02 05:48:20] Repository https://hudson.polarsys.org/kitalpha/job/Kitalpha_master/52/artifact/result/publish/kitalpha_runtime/site.p2
[2016-09-02 05:48:20] Repository https://hudson.polarsys.org/kitalpha/job/Kitalpha_master/52/artifact/result/publish/kitalpha_sdk/site.p2
[2016-09-02 05:48:20] Repository http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.0-N20160610-082445/neon
[2016-09-02 05:48:20] Repository http://download.eclipse.org/tools/orbit/downloads/drops/R20130827064939/repository
[2016-09-02 05:48:20] Repository http://download.eclipse.org/releases/mars
[2016-09-02 05:48:20] Repository http://download.eclipse.org/cbi/updates/license
[2016-09-02 05:48:20] Repository https://hudson.polarsys.org/capella/view/Capella-master/job/capella-master/lastSuccessfulBuild/artifact/result/publish/org.polarsys.capella/site.p2
[2016-09-02 05:48:20] Repository http://download.eclipse.org/eclipse/updates/4.5
[2016-09-02 05:48:20] Offline = false
[2016-09-02 05:48:20] Mirrors = true
[2016-09-02 05:48:30] Calculating requirements and dependencies.
[2016-09-02 05:48:31] Cannot complete the request. Generating details.
[2016-09-02 05:48:33] ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:778)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1128)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1036)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3117)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3060)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4278)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4272)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4270)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3051)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3026)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2926)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:556)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:682)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: org.eclipse.equinox.p2.director code=0 You requested to install 'workspace_requirements [1.0.0]' but it could not be found
Re: Targlets: Director cannot find workspace_requirements and fails [message #1742469 is a reply to message #1742467] Fri, 02 September 2016 04:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31038
Registered: July 2009
Senior Member
Felix,

I think the latest version will no longer do this because of the changes in https://bugs.eclipse.org/bugs/show_bug.cgi?id=496350 eliminates the use of the artificial workspace_requirements IU.
Re: Targlets: Director cannot find workspace_requirements and fails [message #1742477 is a reply to message #1742469] Fri, 02 September 2016 08:09 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 326
Registered: December 2015
Senior Member
Weird stuff. I am not sure what happened, but it's fixed. I thought actually I had updated to the latest (milestone) version just yesterday so I thought it might have been caused by that update.. I don't really know what I did the last two hours to fix it, but the error is gone. Among what I did was cleaning up the bundle pool, but maybe something else (repo/git content) has changed again so really... no clue.
Re: Targlets: Director cannot find workspace_requirements and fails [message #1742544 is a reply to message #1742477] Sun, 04 September 2016 09:08 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6487
Registered: July 2009
Senior Member
I think I had the same problem. It went away when I manually deleted the old profile (which still contained the workspace_requirements IU) of the targlet container from p2's profile registry. You'd have a similar effect when you change the contents of one of the targlets of that targlet container because that would create and use a new profile with a different ID.

Previous Topic:How to avoid prompt on exit
Next Topic:XML BLOB management
Goto Forum:
  


Current Time: Tue Apr 07 08:36:53 GMT 2020

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

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

Back to the top