Hi, > For me PDE and Spring IDE are only useful for helping in resolving > dependencies as imported packages using MANIFEST.MF imports instead of > adding manually third party jars. They are not mandatory indeed.
I understand. > Concerning maven it could help in simplifyinf the build process > (dependencies managements) as well as improving code quality through > build lifecycle management but I'm sure you're aware about this. Yes. H2 doesn't have many dependencies (only the JRE, the rest is optional). Using Maven would actually complicate things. > of course dependency to slf4j and lucene can be imported as optional. > But what happens if some code using this libraries is called (I assume > ClassNotFoundException). For Lucene this happens only if the user uses > Full text search, but for slf4j, isn't it used for h2 logging ? so it > could be mandatory ? SLF4J is optional. >> > + org.osgi.framework;version="1.2.0", >> I can add that if required. But is it really required? > This package is imported in the DbDriverActivator. osgi framewrok > classes will be loaded when the bundle is loaded by the OSGi > environment. If it's not imported, i guess you will also get a > ClassNotFoundException. I wonder what version of the osgi framework is required. Is there a min-max value? How would I know the max value? >> > Dynamic-Import:* seems to be not working, so i've added the import-package >> > header. >> >> Do you know why it doesn't work? I think it's required anyway for user >> defined functions, triggers and so on. > > well, it's not working in the IDE for resolving imported packages. Now > it is of course working in the runtime environment. That's OK. As far as I understand, OSGi is more about runtime that about compile dependencies. > This works fine. The bundle can be started and stopped correctly. Thanks! Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-database@googlegroups.com To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---