Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362500

Summary: [modeling] modeling bridge build fails
Product: z_Archived Reporter: Benjamin Muskalla <b.muskalla>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: milesparker, steffen.pingel
Version: unspecified   
Target Milestone: 0.9   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Benjamin Muskalla CLA 2011-10-31 11:10:49 EDT
* clone https://github.com/Tasktop/Mylyn-Context-Modeling
* # mvn clean install

[DEBUG] P2Resolver: artifact org.eclipse.mylyn.context.modeling:org.eclipse.mylyn.context.modeling-site:0.9.0-SNAPSHOT resolves installable unit org.eclipse.mylyn.context.modeling-site/raw:0.9.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.9.0-SNAPSHOT
[DEBUG] P2Resolver: artifact org.eclipse.mylyn.context.modeling:org.eclipse.mylyn.context.modeling-site:0.9.0-SNAPSHOT resolves installable unit org.eclipse.mylyn.context.modeling-site/raw:0.9.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.9.0-SNAPSHOT
[DEBUG] P2resolver.addMavenProject org.eclipse.mylyn.context.modeling:org.eclipse.mylyn.context.modeling-parent:pom:0.9.0-SNAPSHOT
[INFO] Adding repository (cached) http://download.eclipse.org/mylyn/snapshots/nightly/
[DEBUG] Added p2 repository eclipse-mylyn (http://download.eclipse.org/mylyn/snapshots/nightly/)
[INFO] Adding repository (cached) http://download.eclipse.org/releases/indigo/
[DEBUG] Added p2 repository eclipse-platform (http://download.eclipse.org/releases/indigo/)
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downloads/drops/S20110907174232/repository/
[DEBUG] Added p2 repository eclipse-orbit (http://download.eclipse.org/tools/orbit/downloads/drops/S20110907174232/repository/)
[ERROR] Internal error: java.lang.RuntimeException: Could not determine SWT implementation fragment bundle -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not determine SWT implementation fragment bundle
	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:616)
	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: Could not determine SWT implementation fragment bundle
	at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.fixSWT(ProjectorResolutionStrategy.java:151)
	at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:110)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:102)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:69)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:342)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:162)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:85)
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	... 11 more
[ERROR] 
[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

$ uname -a
Linux bmuskalla-thinkpad 2.6.38-11-generic-pae #50-Ubuntu SMP Mon Sep 12 22:21:04 UTC 2011 i686 i686 i386 GNU/Linux
Comment 1 Steffen Pingel CLA 2011-10-31 16:26:43 EDT
CI build: http://ci.mylyn.org/job/mylyn-context-modeling/54/console. I'll look into it.
Comment 2 Steffen Pingel CLA 2011-10-31 16:36:04 EDT
Fixed in master: http://ci.mylyn.org/job/mylyn-context-modeling/56/console.