Hi Thomas!
On Wednesday, April 23, 2014 9:05:26 PM UTC+2, Thomas Mueller wrote: > > Hi, > > Yes, I fixed the version problem in the code. > Just a quick follow up on that: when is the 1.4 release scheduled for release (it's still beta, right)? > About your patch (I like to discuss it here in the mailing list, as there > are only very few looking at the issue tracker): > > >The DataSouceFactory specification is not supported by default in most > OSGi frameworks. > > In which framework and version is it not supported? > > Maybe I was a bit unclear - it is if course supported in basically every framework (Felix, Equinox, Knoplerfish etc) *provided* that you manually install a bundle that can provide the 'org.osgi.service.jdbc' package. Installing the At least in Apache Karaf the package isn't available by default. My reasoning is basically that h2 should *require* as few dependencies as possible. > I don't like to use System.err.print. Is there an alternative? > Heh - I didn't like that either *smile*. I didn't find any standard logging strategy in the h2 code base (on the other hand I didn't search very hard for it). Best regards //Anders > > On Wed, Apr 23, 2014 at 8:30 PM, Anders Engström > <[email protected]<javascript:> > > wrote: > >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
