2008/9/11 Annies <[EMAIL PROTECTED]> > > Hi > > I want to my Import-Package to specify an exact version match for a > particular package. > E.g., Import-Package: foo.bar;version="[1.0.0, 1.0.0]" > > When I give the following configuration to the BND maven plugin, > <Import-Package>foo.bar;version=[1.1.0,1.1.0]</Import-Package>
you must protect the comma in the version string by adding quotes, for example: <Import-Package>foo.bar;version="[1.1.0,1.1.0]"</Import-Package> otherwise BND will think the comma is separating two different package clauses > it generates > Import-Package: foo.bar;version="[1.1.0", > > This leads to an exception during bundle install > java.lang.NumberFormatException: For input string: "[1" > > How should I do this? > > Thanks > Annies > > > > > > -- > View this message in context: > http://www.nabble.com/Exact-version-match-using-BND-tp19422162p19422162.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart

