You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (Resolved JIRA)" <ji...@apache.org> on 2012/01/15 18:53:39 UTC

[jira] [Resolved] (IVY-1329) OBR RequirementFilterParser does not handle ! (NOT) correctly.

     [ https://issues.apache.org/jira/browse/IVY-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVY-1329.
----------------------------------

    Resolution: Fixed
      Assignee: Nicolas Lalevée

Fixed with parts of your patch, thanks!
                
> OBR RequirementFilterParser does not handle ! (NOT) correctly.
> --------------------------------------------------------------
>
>                 Key: IVY-1329
>                 URL: https://issues.apache.org/jira/browse/IVY-1329
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: trunk
>            Reporter: Sebastian Krueger
>            Assignee: Nicolas Lalevée
>              Labels: patch
>         Attachments: patch.txt
>
>
> I have attached a patch for 
> org.apache.ivy.osgi.obr.RequirementFilterTest.java
> org.apache.ivy.osgi.obr.filter.RequirementFilterParser.java
> The bug can be shown when trying to parse the following filter:
> ---
> (&     (version>=3.5.0)     (!(version>=4.0.0))     (bundle=org.eclipse.core.runtime)    )
> ---
> Without the patch the bundle fragment is dropped from the filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira