[Oomph] Targlet resolve fails for feature with mixed plugin locations [message #1274515] |
Fri, 21 March 2014 11:33  |
Eclipse User |
|
|
|
Hi,
I would like to use a targlet task to import a feature and all included
plugins from a git repo into the workspace. It seems to work by using
the 'feature.group' suffix.
Now I run into this issue:
One of the plugins included by the feature is not part of the git repo.
it is rather provided by a p2 repo. I add the repo to the targlet's
repository list, but the installer reports that it cannot find that plugin.
Any suggestion on how to handle this case?
Below the model and the error:
<?xml version="1.0" encoding="UTF-8"?>
<setup:Project setup:toolVersion="8" xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:setup="http://www.eclipse.org/CDO/releng/setup/1.0" name="ocl"
label="MDT OCL">
<branches name="master">
<setupTasks xsi:type="setup:GitCloneTask"
location="${setup.branch.dir/git/ocl}"
remoteURI="ssh://git.eclipse.org:29418/ocl/org.eclipse.ocl"
checkoutBranch="master"/>
<setupTasks xsi:type="setup:TargletTask" name="OCL"
activeRepositoryList="">
<roots id="org.eclipse.ocl.examples.feature.group"/>
<sourceLocators rootFolder="${setup.branch.dir/git/ocl}"
locateNestedProjects="true"/>
<repositoryLists name="Luna Dependencies">
<p2Repositories url="http://download.eclipse.org/releases/luna"/>
<p2Repositories
url="http://download.eclipse.org/modeling/mdt/ocl/updates/nightly"/>
</repositoryLists>
</setupTasks>
</branches>
</setup:Project>
[2014-03-21 16:05:23] Resolving Target Contents...
[2014-03-21 16:05:23] Reading plug-ins
[2014-03-21 16:05:24] Fetching p2.index from
http://download.eclipse.org/releases/luna/
[2014-03-21 16:05:25] Fetching p2.index from
http://download.eclipse.org/releases/luna/201403140900/
[2014-03-21 16:05:28] Fetching p2.index from
http://download.eclipse.org/releases/luna/201401310900/
[2014-03-21 16:05:30] Fetching p2.index from
http://download.eclipse.org/releases/luna/201312200900/
[2014-03-21 16:05:37] Fetching p2.index from
http://download.eclipse.org/modeling/mdt/ocl/updates/nightly/
[2014-03-21 16:05:38] Fetching p2.index from
http://download.eclipse.org/modeling/mdt/ocl/updates/nightly/4.2.0/
[2014-03-21 16:05:39] Fetching p2.index from
http://download.eclipse.org/modeling/mdt/ocl/updates/nightly/5.0.0/
[2014-03-21 16:05:39] Calculating requirements and dependencies.
[2014-03-21 16:05:40] Cannot complete the request. Generating details.
[2014-03-21 16:05:40] ERROR: org.eclipse.pde.core code=0 Problems
occurred while resolving the target contents
at
org.eclipse.emf.cdo.releng.internal.setup.targlets.TargletContainer.forceUpdate(TargletContainer.java:596)
at
org.eclipse.emf.cdo.releng.setup.impl.TargletTaskImpl.perform(TargletTaskImpl.java:785)
at
org.eclipse.emf.cdo.releng.internal.setup.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:891)
at
org.eclipse.emf.cdo.releng.internal.setup.SetupTaskPerformer.access$0(SetupTaskPerformer.java:868)
at
org.eclipse.emf.cdo.releng.internal.setup.SetupTaskPerformer$2.run(SetupTaskPerformer.java:857)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2333)
at
org.eclipse.emf.cdo.releng.internal.setup.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:851)
at
org.eclipse.emf.cdo.releng.internal.setup.SetupTaskPerformer$1.run(SetupTaskPerformer.java:834)
at
org.eclipse.emf.cdo.releng.internal.setup.ui.ProgressDialog$12$1.run(ProgressDialog.java:608)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the
install because one or more required items could not be found.
ERROR: org.eclipse.equinox.p2.director code=0 Software being
installed: OCL Examples and Editors SDK 3.4.0
(org.eclipse.ocl.examples.feature.group 3.4.0)
ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement:
OCL Classic: Ecore Parser,Evaluator 3.4.0 (org.eclipse.ocl.feature.group
3.4.0) requires 'lpg.runtime.java [2.0.17.qualifier]' but it could not
be found
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy
dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: OCL Classic:
Ecore/UML Parsers,Evaluator 5.0.0 (org.eclipse.ocl.all.feature.group 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29036 seconds