[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] What causes "Could not determine SWT implementation fragment bundle"?
|
Hello,
I'm one step further converting our PDE project to Tycho. This time,
SWT causes my grief. When I run the build, I get this error:
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)
I have the delta pack in the p2 repo which is used for the build and I
have environments defined but no target platform. I use a target
platform to fill my p2 mirror but I can't use that because p2's fucked
up caching causes 15-20 minute delays during the build.
What causes the error? From the source, I see:
if ( iu.getId().startsWith( "org.eclipse.swt" )
&& isApplicable( newSelectionContext, iu.getFilter() ) )
It seems that either the filter or the "newSelectionContext" is wrong
somehow. What should be in there and how do I get it in there from my
POM?
Note that the build should work automatically on Linux and Windows
without any special command line options to Maven (so "mvn install"
must just work on any environment).
Also note that I'm not building a product but a simple UI plugin so
the RCP examples are not very useful for me.
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/ http://blog.pdark.de/