Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 94434 invoked from network); 3 Aug 2007 14:25:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2007 14:25:43 -0000 Received: (qmail 25566 invoked by uid 500); 3 Aug 2007 14:25:42 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 25540 invoked by uid 500); 3 Aug 2007 14:25:42 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 25531 invoked by uid 99); 3 Aug 2007 14:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 07:25:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of TDewire@ea.com designates 159.153.6.7 as permitted sender) Received: from [159.153.6.7] (HELO smtp-na3.ea.com) (159.153.6.7) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 14:25:21 +0000 Received: from EAHQ-BH5.rws.ad.ea.com (eahq-bh5.rws.ad.ea.com [10.30.204.14]) by smtp-na3.ea.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id l73EPHIO002140 for ; Fri, 3 Aug 2007 07:25:17 -0700 Received: from EAHQ-MB7.rws.ad.ea.com ([10.30.204.16]) by EAHQ-BH5.rws.ad.ea.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Aug 2007 07:25:17 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Bug in maven-bundle-plugin? Date: Fri, 3 Aug 2007 07:25:15 -0700 Message-ID: <23EEDA6DFA85B14EA82718973A598AC90DA8F131@EAHQ-CSMB7.rws.ad.ea.com> In-Reply-To: <81f0d9c0708021939h78077ddbl7df5186cdd66f03d@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bug in maven-bundle-plugin? Thread-Index: AcfVd41CBgLIsUdjTqKwGjYhbPUdHQAYnvvQ From: "Dewire, Tom" To: X-OriginalArrivalTime: 03 Aug 2007 14:25:17.0043 (UTC) FILETIME=[1D0E9430:01C7D5DA] X-Virus-Checked: Checked by ClamAV on apache.org Filed as Felix-333. Thanks! --tom=20 -----Original Message----- From: mcculls@gmail.com [mailto:mcculls@gmail.com] On Behalf Of Stuart McCulloch Sent: Thursday, August 02, 2007 10:39 PM To: dev@felix.apache.org Subject: Re: Bug in maven-bundle-plugin? On 03/08/07, Dewire, Tom wrote: > I'm using the 1.0.0 maven-bundle-plugin. It appears to be generating=20 > an invalid manifest file when using the tag. More=20 > specifically, it appears to not be stripping out the whitespace.=20 > Placing the entire contents of the on one line=20 > eliminates the problem. Could you open an issue against the "Maven Bundle Plugin" component: http://issues.apache.org/jira/browse/FELIX and attach both the pom.xml and generated manifest. stripping whitespace could be done in the plugin before the directive is passed to BND - or alternatively BND itself could handle directives with spurious whitespace (this could benefit more users of BND). tbtw, there is a users mailing list - you can subscribe over at: http://cwiki.apache.org/FELIX/mailinglists.html but it doesn't have much traffic at the moment. > > Although I'm using felix for making the bundle, the target OSGI=20 > implementation is Equinox. > > I apologize if using the "dev" list for this question is inappropriate. > I couldn't determine if there was also a "users" list (or something > similar) in use. If so, I'd also love to get on it. > > --Tom DeWire > > A quick view of the generated manifest: > > =3D=3D=3D start =3D=3D=3D > Manifest-Version: 1.0 > Created-By: 1.5.0_06 (Sun Microsystems Inc.) > Bundle-Activator: com.ea.nucleus.http.simple.probe.Activator > Import-Package: = com.ea.nucleus.configuration;version=3D"[1,2)",com.ea.nu > = cleus.http.simple.common;version=3D"[2,3)",com.ea.nucleus.routing;versi > = on=3D"[1,3)",org.apache.commons.logging;version=3D"[1.1,2)",org.osgi.fram= > ework;version=3D1.3,simple.http;version=3D3.1.3 > Include-Resource: {src\main\resources}, > @target\dependencies\sp > ring-core.jar, > @target\dependencies\spring-beans.jar, > @ > target\dependencies\spring-context.jar, > @target\dependencies\c > onfiguration.spring.jar > =3D=3D=3D lots more below here =3D=3D=3D > > My plugin configuration looks like this: > > =3D=3D=3D lots more above here =3D=3D=3D > > > > org.apache.felix > maven-bundle-plugin > 1.0.0 > true > > > ${groupId}.${pom.artifactId} > > ${groupId}.${pom.artifactId} > > > com.ea.nucleus.http.simple.probe.Activator ct > ivator> > > org.osgi.framework, > org.apache.commons.logging;version=3D"[1.1,2)", > com.ea.nucleus.configuration;version=3D"[1,2)", > com.ea.nucleus.routing;version=3D"[1,3)", > com.ea.nucleus.http.simple.common;version=3D"[2,3)", > simple.http*;version=3D"3.1.3", > !* > > > !* > > > com.ea.nucleus.http.simple.probe > > > {src\main\resources}, > @target\dependencies\spring-core.jar, > @target\dependencies\spring-beans.jar, > @target\dependencies\spring-context.jar, > @target\dependencies\configuration.spring.jar > > > > > > =3D=3D=3D lots more below here =3D=3D=3D > -- Cheers, Stuart