hi, I guess org.hsqldb.JDBCDriver is not the correct route ;), isn't it? , at least the class you are pointing at can be found here: org/hsqldb/jdbc/JDBCDriver.class within the hsqldb.jar
Miguel Sent from Madrid, Spain On Mon, Feb 22, 2010 at 12:10 PM, Asier Aranbarri Beldarrain < [email protected]> wrote: > Hi Miguel: > > Thanks for the answer. Yes, I set up the classpath correctly. The odd thing > is that I also have a .jar included in an osgi bundle (mysqlconnector.jar) > the same exact way and works perfect. > > > > > On 22 February 2010 11:43, Miguel <[email protected]> wrote: > >> you should not include libraries inside bundles. It is better to "bundle" >> then. >> >> However, if you made that other way, did you set up the correct classpath >> in the manifest and import the correct package? >> >> Miguel >> >> >> On Mon, Feb 22, 2010 at 11:32 AM, Asier Aranbarri Beldarrain < >> [email protected]> wrote: >> >>> Hi: >>> >>> I made a new Db using *HSQLDB *(http://hsqldb.org/) and imported it to >>> my eclipse framework, making a Java program work with it(actually it does >>> correctly). >>> >>> Now mi issue is that I need to export that to an Osgi bundle (using >>> equinox). HSQLDB uses the *hsqldb.jar *library, which is necessary so >>> that hsqldb driver can be found. My problem is that equinox is not finding >>> it (*org.hsqldb.JDBCDriver not found *exception all the time). >>> >>> When I export the package I include the *hsqldb.jar *in the Build >>> Configuration, but somehow, when I run equinox, it does not recognize it. >>> >>> Any possible solution? >>> >>> Thanks in advance, >>> >>> Asier >>> >>> >>> >>> _______________________________________________ >>> OSGi Developer Mail List >>> [email protected] >>> https://mail.osgi.org/mailman/listinfo/osgi-dev >>> >> >> >> _______________________________________________ >> OSGi Developer Mail List >> [email protected] >> https://mail.osgi.org/mailman/listinfo/osgi-dev >> > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev >
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
