Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] P2 default fragment requirements


Hi,

I'm looking at http://wiki.eclipse.org/Equinox/p2/Setting_Start_Levels and it mentions that default fragment
is added to all IUs, and in particular it contains this:

   <hostRequirements size='1'>
      <required namespace='org.eclipse.equinox.p2.eclipse.type' name='bundle' range='0.0.0' multiple='true' greedy='false'/>
   </hostRequirements>

   <requires size='1'>
      <required namespace='org.eclipse.equinox.p2.eclipse.type' name='bundle' range='0.0.0' multiple='true' greedy='false'/>
   </requires>

What exactly is the role of the 'requires' element? It is rather board requirements already, and then this fragment
is added to every other IU, so effectively every bundle IU has a requirement that can be satisfied by any other
bundle IU, and the practical impact of this is rather unclear to me.

Unrelatedly, looking at http://wiki.eclipse.org/Equinox/p2/P2_Fragments is seems that 'fragments' is used in completely
different way there? What is the current primary meaning?

Thanks in advance,

--
Vladimir Prus
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/


Back to the top