Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] What causes "Could not determine SWT implementation fragment bundle"?

Zitat von Aaron Digulla <digulla@xxxxxxxx>:


[DEBUG] Added p2 repository indigo (file:/home/...)
[DEBUG] Available IUs:
  org.eclipse.modisco.jee.webapp.source 0.9.1.v201109150824
  org.junit.source 4.8.2.v4_8_2_v20110321-1705
  ...
  org.eclipse.swt 3.7.1.v3738a
  ...
  org.eclipse.swt.gtk.linux.x86_64 3.7.1.v3738a
  org.eclipse.swt.gtk.linux.x86_64.source 3.7.1.v3738a

which is odd since the folder contains the whole delta pack with 31 plugins in total and not only three.

For some reason, the other 28 plugins are not listed in artifacts.jar. They are in content.jar, though :-/

Investigating...

The next oddity is this output:

[DEBUG] Root IUs:
<?xml version='1.0' encoding='UTF-8'?>
<units size='1'>
  <unit id='pm-dsl-ui' version='2.0.2.qualifier'>
    <update id='pm-dsl-ui' range='[0.0.0,2.0.2.qualifier)' severity='0'/>
    <properties size='5'>
...
    <requires size='10'>
<required namespace='osgi.bundle' name='org.eclipse.xtext.ui' range='2.0.1'/> <required namespace='osgi.bundle' name='org.eclipse.ui.editors' range='3.7.0'/> <required namespace='osgi.bundle' name='org.eclipse.ui.ide' range='3.7.0'/> <required namespace='osgi.bundle' name='org.eclipse.xtext.ui.shared' range='2.0.1'/>
      <required namespace='osgi.bundle' name='org.eclipse.ui' range='3.7.0'/>
<required namespace='osgi.bundle' name='org.eclipse.xtext.builder' range='2.0.1'/> <required namespace='osgi.bundle' name='org.eclipse.xtext.common.types.ui' range='2.0.1'/> <required namespace='java.package' name='org.apache.log4j' range='0.0.0'/> <required namespace='java.package' name='org.eclipse.swt' range='0.0.0'/>
    </requires>

Is it normal that "org.eclipse.swt" is in the java.package namespace??

Okay, found this one: I'm importing via package name instead of via bundle dependency. Editing the MANIFEST.MF changes this output but has no effect on the error message.

For the record: I'm building on Linux/gtk/x86_64, so the one plugin that Tycho can find *should* be enough.

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/


Back to the top