Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph Error when importing projects into workspace(org.eclipse.equinox.p2.director code=10053)
Oomph Error when importing projects into workspace [message #1706498] Thu, 27 August 2015 11:47 Go to next message
Maksim Melnik is currently offline Maksim MelnikFriend
Messages: 52
Registered: August 2015
Member
Hello Eclipse community,
it is the first time i actually write for help, but i think there is no other way. My problem is, when i install my custom eclipse ( Mars ) it works just perfect, but , when i start the installed eclipse and pull the git repository, i fail to execute targlets, which import them into my workspace... Here is the error message:
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:685)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:976)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:125)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:912)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2955)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:2914)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:3999)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:3993)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:3991)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2905)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2880)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2774)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:550)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:635)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1440673280719
  ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: artificial_root 1.0.0.v1440673280719 requires 'org.eclipse.test1.feature.group 0.0.0' but it could not be found

I am using oomph 1.1.0 Build 1690
Am i doing something wrong?
Maksim

[Updated on: Thu, 27 August 2015 13:31]

Report message to a moderator

Re: Oomph importing projects into workspace [message #1706528 is a reply to message #1706498] Thu, 27 August 2015 13:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Maksim,

Did you specify the requirement for org.eclipse.test1.feature.group in
your targlet itself? Or is there such a requirement in one of your
projects? If it's the latter, you might try setting "Include All
Requirements" to false so that the resolution doesn't fail if some
requirement can't be found, and then track down where in your source
that requirement comes from. It looks kind of bogus, e.g., perhaps a
type on one of your feature.xmls...



On 27/08/2015 3:08 PM, Maksim Melnik wrote:
> Hello Eclipse community,
> it is the first time i actually write for help, but i think there is
> no other way. My problem is, when i install my custom eclipse it works
> just perfect, but , when i start the installed eclipse and pull the
> git repository, i fail to import them into my workspace... Here is the
> error message: 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:685)
> at
> org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:976)
> at
> org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:125)
> at
> org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:912)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2955)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:2914)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:3999)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:3993)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:3991)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2905)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2880)
> at
> org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2774)
> at
> org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:550)
> at
> org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:635)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> ERROR: org.eclipse.equinox.p2.director code=0 Software being
> installed: artificial_root 1.0.0.v1440673280719
> ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement:
> artificial_root 1.0.0.v1440673280719 requires
> 'org.eclipse.test1.feature.group 0.0.0' but it could not be found
>
> Am i doing something wrong? Maksim


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph importing projects into workspace [message #1706531 is a reply to message #1706528] Thu, 27 August 2015 14:07 Go to previous messageGo to next message
Maksim Melnik is currently offline Maksim MelnikFriend
Messages: 52
Registered: August 2015
Member
Thank you for your reply Ed,
i did not specify the requirement myself. And since i am trying to import a simple hello-world project from github repo, i dont think it is required at all. If i delete the requirement , the targlets are executed correctly, but then , the projects are not imported into my workspace... Here is my git clone task
<setupTask
      xsi:type="git:GitCloneTask"
      id="git.clone"
      remoteURI="https://github.com/githubtraining/hellogitworld.git">
    <description>${scope.project.label}</description>
  </setupTask>


I've also tried removing the requirment and then adding the project import task , but that didnt work too :/
Re: Oomph importing projects into workspace [message #1706533 is a reply to message #1706531] Thu, 27 August 2015 14:21 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Maksim,

Comments below.

On 27/08/2015 4:07 PM, Maksim Melnik wrote:
> Thank you for your reply Ed,
> i did not specify the requirement myself. And since i am trying to
> import a simple hello-world project from github repo, i dont think it
> is required at all. If i delete the requirement , the targlets are
> executed correctly, but then , the projects are not imported into my
> workspace... Here is my git clone task
>
> <setupTask
> xsi:type="git:GitCloneTask"
> id="git.clone"
> remoteURI="https://github.com/githubtraining/hellogitworld.git">
> <description>${scope.project.label}</description>
> </setupTask>
You're not having trouble cloning right? You showed a problem related
to a targlet task... What requirement did you put in there?
>
>
> I've also tried removing the requirment and then adding the project
> import task , but that didnt work too :/
It's hard to comment without seeing it. Sorry there is no good
documentation. Did you use the wizard to create the original setup?
That would probably be helpful, e.g., I don't see an ID on your clone
task, so that makes it hard to use the disk location of the clone of the
repository in other tasks...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph importing projects into workspace [message #1706534 is a reply to message #1706533] Thu, 27 August 2015 14:29 Go to previous message
Maksim Melnik is currently offline Maksim MelnikFriend
Messages: 52
Registered: August 2015
Member
Ah, i figured out what the problem was. The github repo didnot contain propper eclipse project... I changed the repo and deleted the requirement and it worked. Thank you Ed for your help.
Previous Topic:Oomph enables the "Build Automatically" preference when it finishes the installation
Next Topic:Maintaining the oomph setup
Goto Forum:
  


Current Time: Mon Dec 09 10:32:48 GMT 2024

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

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

Back to the top