Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AF014F70 for ; Fri, 8 Jul 2011 00:18:44 +0000 (UTC) Received: (qmail 93155 invoked by uid 500); 8 Jul 2011 00:18:43 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 92872 invoked by uid 500); 8 Jul 2011 00:18:43 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 92862 invoked by uid 99); 8 Jul 2011 00:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 00:18:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 00:18:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 89AED4CCB7 for ; Fri, 8 Jul 2011 00:18:19 +0000 (UTC) Date: Fri, 8 Jul 2011 00:18:19 +0000 (UTC) From: "Stephen Evanchik (JIRA)" To: notifications@ant.apache.org Message-ID: <472604988.9673.1310084299560.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (IVY-1304) buildobr Ant Task generates OBR XML that is not compatible with Felix bundlerepository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org buildobr Ant Task generates OBR XML that is not compatible with Felix bundlerepository -------------------------------------------------------------------------------------- Key: IVY-1304 URL: https://issues.apache.org/jira/browse/IVY-1304 Project: Ivy Issue Type: Bug Components: Ant Affects Versions: trunk Reporter: Stephen Evanchik 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(PullParser.java:241) at org.apache.felix.bundlerepository.impl.PullParser.parse(PullParser.java:138) .... 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(FilterImpl.java:1203) at org.apache.felix.utils.filter.FilterImpl$Parser.parse_and(FilterImpl.java:1248) at org.apache.felix.utils.filter.FilterImpl$Parser.parse_filtercomp(FilterImpl.java:1222) at org.apache.felix.utils.filter.FilterImpl$Parser.parse_filter(FilterImpl.java:1198) at org.apache.felix.utils.filter.FilterImpl$Parser.parse(FilterImpl.java:1172) at org.apache.felix.utils.filter.FilterImpl.newInstance(FilterImpl.java:87) at org.apache.felix.bundlerepository.impl.RequirementImpl.setFilter(RequirementImpl.java:74) 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: http://www.atlassian.com/software/jira