[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] Fragment oddities
- From: Thomas Hallgren <thomas@xxxxxxx>
- Date: Thu, 24 Sep 2009 00:10:38 +0200
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3
I'm looking at an IU that I was fairly sure was a fragment. The IU in
question is the 'org.eclipse.swt.win32.win32.x86'.
When I read this IU using a query, it doesn't arrive as a
IInstallableUnitFragment and when I look at it's XML in the content.jar,
it doesn't have any hostRequirements. It's also missing the fragment signum:
<property name='org.eclipse.equinox.p2.type.fragment' value='true'/>
So I guess this isn't a fragment then, at least not from a P2
perspective? OSGi will see it as a fragment. The manifest contains:
and this entry can also be found. Not sure what it means, but perhaps
it's some ancient way of declaring the host requirement?
<provided namespace='osgi.fragment' name='org.eclipse.swt'
Can someone please explain why the IU is declared this way?