ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Evanchik (JIRA)" <>
Subject [jira] [Updated] (IVY-1304) buildobr Ant Task generates OBR XML that is not compatible with Felix bundlerepository
Date Fri, 08 Jul 2011 00:20:16 GMT


Stephen Evanchik updated IVY-1304:

    Attachment: remove_gte_and_lte_operators.patch

Beginnings of a patch to remote greater than or equal and less than or equal.

It doesn't work ;)

> buildobr Ant Task generates OBR XML that is not compatible with Felix bundlerepository
> --------------------------------------------------------------------------------------
>                 Key: IVY-1304
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: trunk
>            Reporter: Stephen Evanchik
>         Attachments: remove_gte_and_lte_operators.patch
> I am using Ivy's "buildobr" Ant task to construct an OBR from my Eclipse installation.
It is generating filters in the following format:
>   (&(package=org.eclipse.core.runtime)(version<1.5.0))
> which cannot be parsed by the org.apache.felix.bundlerepository in Karaf 2.2.1
> I see the following exceptions in the Karaf logs:
> java.lang.Exception: Error while parsing resource null at line 10 and column 129
>      at org.apache.felix.bundlerepository.impl.PullParser.parseResource(
>      at org.apache.felix.bundlerepository.impl.PullParser.parse(
> .... skipping moderately relevant information ...
>  Caused by: org.osgi.framework.InvalidSyntaxException: Missing ')': (bundle=org.eclipse.wst.common.project.facet.core)))
>      at org.apache.felix.utils.filter.FilterImpl$Parser.parse_filter(
>      at org.apache.felix.utils.filter.FilterImpl$Parser.parse_and(
>      at org.apache.felix.utils.filter.FilterImpl$Parser.parse_filtercomp(
>      at org.apache.felix.utils.filter.FilterImpl$Parser.parse_filter(
>      at org.apache.felix.utils.filter.FilterImpl$Parser.parse(
>      at org.apache.felix.utils.filter.FilterImpl.newInstance(
>      at org.apache.felix.bundlerepository.impl.RequirementImpl.setFilter(

> I originally submitted a patch to Felix's LDAP Filter implementation to include support
for < and >. According to the last comment in FELIX-3023 it appears that the OSGi Alliance
is going to drop the < and > in favor of a composite operator of (a < b or a = b)
(assuming I understand everything correctly).
> I attempted to create a patch which is wrong but I think can be finished correctly.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message