Hi, dear all,
I need to use HEAD version of JDT
Core.
I tried to build it but failed.
Solved some problems but still cannot pass. (I'm currently using Eclipse 3.7.2
JavaEE Edition. Is it necessary to build it in Eclipse SDK, I
guess?)
Error log is below:
[INFO] Scanning for
projects... [INFO] Computing target platform for MavenProject:
org.eclipse.jdt:org.eclipse.jdt.annotation:1.1.0-SNAPSHOT @
D:\opensource\eclipse.jdt.core\org.eclipse.jdt.annotation\pom.xml [INFO]
Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/I20130321031113/repository [INFO]
Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/I20130321031113/repository [INFO]
Adding repository http://download.eclipse.org/rt/ecf/int3/site.p2 [INFO]
Adding repository http://download.eclipse.org/rt/ecf/int3/site.p2 [INFO]
Adding repository http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.9.v20130131 [INFO]
Adding repository http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.9.v20130131 [INFO]
Adding repository http://download.eclipse.org/modeling/emf/emf/updates/2.9milestones/base/S201303140814 [INFO]
Adding repository http://download.eclipse.org/modeling/emf/emf/updates/2.9milestones/base/S201303140814 [INFO]
Adding repository http://download.eclipse.org/egit/updates [INFO]
Adding repository http://download.eclipse.org/egit/updates [INFO]
Adding repository http://download.eclipse.org/tools/ajdt/aspectj/update [INFO]
Adding repository http://download.eclipse.org/tools/ajdt/aspectj/update [INFO]
Resolving dependencies of MavenProject:
org.eclipse.jdt:org.eclipse.jdt.annotation:1.1.0-SNAPSHOT @
D:\opensource\eclipse.jdt.core\org.eclipse.jdt.annotation\pom.xml [INFO]
Resolving class path of MavenProject:
org.eclipse.jdt:org.eclipse.jdt.annotation:1.1.0-SNAPSHOT @
D:\opensource\eclipse.jdt.core\org.eclipse.jdt.annotation\pom.xml [INFO]
Computing target platform for MavenProject:
org.eclipse.jdt:org.eclipse.jdt.compiler.tool:1.0.200-SNAPSHOT @
D:\opensource\eclipse.jdt.core\org.eclipse.jdt.compiler.tool\pom.xml [INFO]
Resolving dependencies of MavenProject:
org.eclipse.jdt:org.eclipse.jdt.compiler.tool:1.0.200-SNAPSHOT @
D:\opensource\eclipse.jdt.core\org.eclipse.jdt.compiler.tool\pom.xml [INFO]
Cannot complete the request. Generating details. [INFO] Cannot complete
the request. Generating details. [INFO] {osgi.ws=gtk, osgi.os=linux,
osgi.arch=x86, org.eclipse.update.install.features=true} [ERROR] Cannot
resolve project dependencies: [ERROR] Software being installed:
org.eclipse.jdt.compiler.tool 1.0.200.qualifier [ERROR] Missing
requirement: org.apache.ant 1.8.2.v20120109-1030 requires 'bundle
org.eclipse.osgi 0.0.0' but it could not be found [ERROR] Missing
requirement: org.apache.ant 1.8.3.v201301120609 requires 'bundle
org.eclipse.osgi 0.0.0' but it could not be found [ERROR] Missing
requirement: org.apache.ant 1.8.4.v201303080030 requires 'bundle
org.eclipse.osgi 0.0.0' but it could not be found [ERROR] Cannot
satisfy dependency: org.eclipse.jdt.compiler.tool 1.0.200.qualifier depends on:
bundle org.eclipse.jdt.core [3.3.0,4.0.0) [ERROR] Cannot satisfy
dependency: org.eclipse.jdt.core 3.9.0.qualifier depends on: org.apache.ant
0.0.0 [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No
solution found because the problem is unsatisfiable.": ["Unable to satisfy
dependency from org.apache.ant 1.8.2.v20120109-1030 to bundle org.eclipse.osgi
0.0.0.", "Unable to satisfy dependency from org.apache.ant 1.8.3.v201301120609
to bundle org.eclipse.osgi 0.0.0.", "Unable to satisfy dependency from
org.apache.ant 1.8.4.v201303080030 to bundle org.eclipse.osgi 0.0.0.", "Unable
to satisfy dependency from org.eclipse.jdt.core 3.9.0.qualifier to bundle
org.eclipse.core.filesystem 1.3.100.", "Unable to satisfy dependency from
org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.core.runtime 3.7.0.",
"Unable to satisfy dependency from org.eclipse.jdt.core 3.9.0.qualifier to
bundle org.eclipse.text 3.5.101.", "Unable to satisfy dependency from
org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.core.resources
3.7.101.", "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.apache.ant
1.8.2.v20120109-1030 to bundle org.eclipse.osgi 0.0.0.", "Unable to satisfy
dependency from org.apache.ant 1.8.3.v201301120609 to bundle org.eclipse.osgi
0.0.0.", "Unable to satisfy dependency from org.apache.ant 1.8.4.v201303080030
to bundle org.eclipse.osgi 0.0.0.", "Unable to satisfy dependency from
org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.core.filesystem
1.3.100.", "Unable to satisfy dependency from org.eclipse.jdt.core
3.9.0.qualifier to bundle org.eclipse.core.runtime 3.7.0.", "Unable to satisfy
dependency from org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.text
3.5.101.", "Unable to satisfy dependency from org.eclipse.jdt.core
3.9.0.qualifier to bundle org.eclipse.core.resources 3.7.101.", "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) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at
java.lang.reflect.Method.invoke(Method.java:601) at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused
by: java.lang.RuntimeException: "No solution found because the problem is
unsatisfiable.": ["Unable to satisfy dependency from org.apache.ant
1.8.2.v20120109-1030 to bundle org.eclipse.osgi 0.0.0.", "Unable to satisfy
dependency from org.apache.ant 1.8.3.v201301120609 to bundle org.eclipse.osgi
0.0.0.", "Unable to satisfy dependency from org.apache.ant 1.8.4.v201303080030
to bundle org.eclipse.osgi 0.0.0.", "Unable to satisfy dependency from
org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.core.filesystem
1.3.100.", "Unable to satisfy dependency from org.eclipse.jdt.core
3.9.0.qualifier to bundle org.eclipse.core.runtime 3.7.0.", "Unable to satisfy
dependency from org.eclipse.jdt.core 3.9.0.qualifier to bundle org.eclipse.text
3.5.101.", "Unable to satisfy dependency from org.eclipse.jdt.core
3.9.0.qualifier to bundle org.eclipse.core.resources 3.7.101.", "No solution
found because the problem is unsatisfiable."] at
org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:81) at
org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88) at
org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:58) at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:122) at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:78) at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:373) at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350) at
org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109) at
org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82) at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11
more [ERROR] [ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable
full debug logging. [ERROR] [ERROR] For more information about the errors
and possible solutions, please read the following articles: [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
Thanks
Dongqing
Hu |