[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 categories and filters

Hi Nalini, 

No filtering is applied on categories.  This is a known issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=225365

PaScaL

On 2010-08-23, at 8:40 PM, Nalini Ganapati wrote:


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
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev