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


Thanks Pascal. From the defects, it is not clear this is going to be addressed in any release, is that correct? Is this is a good time to start a discussion and maybe implement  applying specified filters on category IUs too?

- Nalini.



From:        Pascal Rapicault <pascal@xxxxxxxxxxxx>
To:        P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date:        08/23/2010 06:37 PM
Subject:        Re: [p2-dev] p2 categories and filters
Sent by:        p2-dev-bounces@xxxxxxxxxxx




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