I am trying to filter out certain requirements using filters from category 
IUs, but the UI(install and pde) seem to ignore this. For example, 
installing test should filter out foo.win32 on a linux platform, but I am 
not seeing that happen.

 <unit id='test' version='1.0.0.T20100823_1234' singleton='false'>
      <properties size='2'>
        <property name='org.eclipse.equinox.p2.name' value='test'/>
        <property name='org.eclipse.equinox.p2.type.category' 
value='true'/>
      </properties>
        <requires size='79'>
        <required namespace='org.eclipse.equinox.p2.iu' name='foo.win32' 
range='0.0.0' optional='true'>
          <filter>
            (&amp;(osgi.arch=x86)(osgi.os=win32)(osgi.ws=win32))
          </filter>
        </required>
      </requires>



I am probably missing something, are filters not supported for the 
category IUs? If this is a defect, I can open a bug report and probably 
attach a patch too.

Thanks,
Nalini.

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to