Of course a was a bit too quick.. it looks like this have been fixed in trunk (although the new code have not been released yet). :)
To make me look better I created a patch for the optional DataSourceFactory instead: http://code.google.com/p/h2database/issues/detail?id=559&sort=-id Best regards //Anders On Wednesday, April 23, 2014 2:48:47 PM UTC+2, Anders Engström wrote: > > Hi! > > I noticed that the Import-Package directives in the JAR-file weird. The > bundle exports all "org.h2" packages with the version "1.4.177" as > expected, but the Import-Package directive for those packages is > "[1.4.177,1.4.0)". This results in a "negative" version range (all versions > between 1.4.177 and 1.4.0 (!)) and at least Apache Felix barfs on this. > > I suspect that the upper version is a left-over from the 1.3 development > branch? > > The proper version range should be "[1.4.177,1.5.0)". > > I'm reporting this on the mailing list instead of through the Google Code > issues since 1.4 is still (?) in beta. > > (Also - it would be nice if the dependency on org.osgi.service.jdbc was > optional and that the DataSourceFactory was only published if that package > is available) > > Best Regards //Anders > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
