errors after importing sculptor develop branch into Eclipse

66 views
Skip to first unread message

Ron Smith

unread,
Nov 30, 2013, 3:33:27 PM11/30/13
to fornax-...@googlegroups.com
I checked out the develop branch, built clean (mvm clean install), and imported all of the projects into Eclipse (import maven projects).

Most of the projects have no errors, but I'm getting some errors in eclipse-library, org.sculptor.dsl.tests, and sculptor-generator core.

Some of the eclipse-library errors:
  • Bundle 'org.eclipse.emf.mwe2.lib.source' cannot be resolved
  • Bundle 'org.eclipse.emf.mwe2.lib.source' cannot be resolved
  • Bundle 'org.eclipselabs.xtext.utils.unittesting' cannot be resolved

In org.sculptor.ds.tests:
  • Class<XtextRunner2> cannot be resolved to a type

Is there anything else I need to set up in Eclipse, or import differently?


Also, I'm getting the following errors when trying to build the custom IDE:

quito:sculptor3 ron$ mvn verify -Pide
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: org.sculptorgenerator:eclipse-ide:1.0.0 @ /usr/local/workingArea/sculptor3/devtools/eclipse-ide/pom.xml
[INFO] Resolving dependencies of MavenProject: org.sculptorgenerator:eclipse-ide:1.0.0 @ /usr/local/workingArea/sculptor3/devtools/eclipse-ide/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86_64, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.sculptor.ide 3.0.0.qualifier
[ERROR]   Missing requirement: org.sculptor.ide 3.0.0.qualifier requires 'org.eclipse.platform.feature.group 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.platform.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.jdt.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.wst.xml_ui.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.m2e.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.emf.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.xtext.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.emf.mwe2.runtime.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipselabs.xtext.utils.unittesting.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.equinox.executable.feature.group 0.0.0.; No solution found because the problem is unsatisfiable.] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.platform.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.jdt.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.wst.xml_ui.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.m2e.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.emf.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.xtext.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.emf.mwe2.runtime.sdk.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipselabs.xtext.utils.unittesting.feature.feature.group 0.0.0.; Unable to satisfy dependency from org.sculptor.ide 3.0.0.qualifier to org.eclipse.equinox.executable.feature.group 0.0.0.; No solution found because the problem is unsatisfiable.]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

Thanks
Ron

Torsten Juergeleit

unread,
Nov 30, 2013, 5:15:03 PM11/30/13
to fornax-...@googlegroups.com
This is because the required p2 repository definitions have been moved from parent POM to child POMs.
Fixed with commit #555111e.

/Torsten
Reply all
Reply to author
Forward
0 new messages