Re: Include Karaf feature in POM dependency

2017-11-25 Thread Steinar Bang
> Jean-Baptiste Onofré : > The generate-descriptor MOJO (or if you use the feature packaging) > will create a feature.xml. Yes. But what he was saying, was that the generate-descriptor doesn't use somefeature from the karaf-maven-plugin as dependencies. It only uses those dependenci

Re: Include Karaf feature in POM dependency

2017-11-25 Thread Jean-Baptiste Onofré
The generate-descriptor MOJO (or if you use the feature packaging) will create a feature.xml. It's what we are using internally in Karaf. Regards JB On 11/25/2017 11:00 AM, Kerry wrote: Thanks JB. I have a feeling I've asked this already but I think the plug-in options are aimed at building

Re: EIK for Karaf 4.1 vs Bndtools

2017-11-25 Thread Steinar Bang
Hm... EIK looks pretty cool... https://github.com/apache/karaf-eik (That said: running a plain karaf and using remote debug from eclipse, and "bundle:watch *" gives me a pretty good code and debug workflow, as it is...)

Re: EIK for Karaf 4.1 vs Bndtools

2017-11-25 Thread Oleg Cohen
Hi JB, Sure, I would be happy to do the update. Can you please let me know what needs to be done and how. Regards, Oleg On Thu, Nov 23, 2017 at 12:11 AM, Jean-Baptiste Onofré wrote: > Hi Oleg, > > Unfortunately, EIK is not really maintained. > > I'm ready to do the update but I would be more t

Re: Include Karaf feature in POM dependency

2017-11-25 Thread Steinar Bang
> Kerry : > I have a feeling I've asked this already but I think the plug-in > options are aimed at building a KAR? I just want to create a features > file with the included feature dependencies. I think the only way to > do this is to provide a template features XML file? I tried just now, a

Re: Include Karaf feature in POM dependency

2017-11-25 Thread Kerry
Thanks JB. I have a feeling I've asked this already but I think the plug-in options are aimed at building a KAR? I just want to create a features file with the included feature dependencies. I think the only way to do this is to provide a template features XML file? I was going to see if I ca

Re: JMS log4j appender

2017-11-25 Thread Christian Schneider
In your case you would have to make sure the pax logging bunde has access to the jms api. So you would need to write a fragment for it. An easier way is to use Apache Decanter with the jms appender. It is already well prepared for OSGi. See: https://karaf.apache.org/manual/decanter/latest-1/#_jms

JMS log4j appender

2017-11-25 Thread eric56
Hi, I created this appender in my org.ops4j.pax.logging.cfg file: *log4j.appender.JMS=org.apache.log4j.net.JMSAppender log4j.appender.JMS.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory log4j.appender.JMS.ProviderURL=tcp://localhost:61616 log4j.appender.JMS.TopicBi