Re: [osgi-dev] How do you use OSGi?

2016-06-09 Thread Matt Sicker
Peter: I don't have any experience with enRoute yet (been using CXF and then Camel's REST DSL), but I'll try to put together some nice examples. On 9 June 2016 at 11:25, Peter Kriens wrote: > Isn’t this the beauty of open source? :-) > > If you start an OSGi enRoute

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
Hi, Signed up on JPM4j site, logged in, but could not find how to introduce new jar. Anyone advise if possible and how. I want to add or find org.osgi.service.jdbc Paul On 10/06/2016 2:26 AM, Raymond Auge wrote: ... at least that's what I understood from how I fixed the portlet artifacts

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Raymond Auge
... at least that's what I understood from how I fixed the portlet artifacts in jpm4j several months ago ... - Ray On Thu, Jun 9, 2016 at 12:24 PM, Raymond Auge wrote: > jpm4j doesn't know on it's own what is the most relevant artifact to use. > I believe it will

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Raymond Auge
jpm4j doesn't know on it's own what is the most relevant artifact to use. I believe it will assume that the artifact with the most recent release date is most relevant. However, we can teach jpm4j how to behave (because it's impossible for jmp4j to figure this out on it's own... although it tries

Re: [osgi-dev] How do you use OSGi?

2016-06-09 Thread Peter Kriens
Isn’t this the beauty of open source? :-) If you start an OSGi enRoute example like the Vaadin & JDBC I can help out with advice. Any experiences can then be fed back into Camel. Kind regards, Peter Kriens > On 9 jun. 2016, at 18:00, Matt Sicker wrote: > > I'd

Re: [osgi-dev] How do you use OSGi?

2016-06-09 Thread Peter Kriens
Well, OSGi is a component model so it would be surprising if we all thought the same, especially in open source. At least OSGi allows full co-operation between these ‘camps’. That said, I think is quickly getting closer to the DS ‘camp’, Christian seems to spend a lot of effort. Kind

Re: [osgi-dev] Problem with cnf cache

2016-06-09 Thread Peter Kriens
Try exiting Eclipse, do a full ‘git clean -fdx’, do a build with gradle, and go back to Eclipse … If you do git clean -fdx then you delete ALL your changes so be sure to stash them or commit them. Kind regards, Peter Kriens > On 9 jun. 2016, at 13:19, Paul F Fraser

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Christian Schneider
Please use the original one. org.ops4j.pax.jdbc contains more than the spec bundle. The new pax-jdbc releases do not embed the jdbc spec bundle anymore. Instead it also uses the one from the OSGi alliance I mentioned. Btw. Strange that jpm does not find the official one. Christian On

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
Thanks, Christian, JPM finds org.ops4j.pax.jdbc but search in Maven finds org.osgi.service.jdbc. I presume both are suitable. Paul On 9/06/2016 8:49 PM, Christian Schneider wrote: Since R6 there are now separate bundles for each spec. You should use this bundle instead of the full spec jar.

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Christian Schneider
Since R6 there are now separate bundles for each spec. You should use this bundle instead of the full spec jar. http://search.maven.org/#artifactdetails|org.osgi|org.osgi.service.jdbc|1.0.0|jar Christian On 09.06.2016 12:41, Paul F Fraser wrote: Hi, I have been using the H2