Re: features.xml and classpath URL handler

2016-09-12 Thread Alex Soto
Added Jira ticket: https://issues.apache.org/jira/browse/KARAF-4707 Thanks, Alex soto > On Sep 11, 2016, at 1:23 AM, Jean-Baptiste Onofré wrote: > > Good idea. > > Can you create a Jira about that ? > > Thanks, >

Re: features.xml and classpath URL handler

2016-09-10 Thread Jean-Baptiste Onofré
Good idea. Can you create a Jira about that ? Thanks, Regards JB On 09/10/2016 08:43 PM, Oliver Lietz wrote: On Friday 09 September 2016 15:04:16 Alex Soto wrote: Thank you! This worked now: mvn:org.ops4j.base/ops4j-base-util-property/1.5.0

Re: features.xml and classpath URL handler

2016-09-09 Thread Guillaume Nodet
You need to use a prerequisite feature in order to make sure the feature containing the class path url handler is fully handled and started before installing the remaining stuff that actually need to use this url handler. ... mvn:org.ops4j.pax.url/pax-url-classpath/2.4.3 pax-url-handler

Re: features.xml and classpath URL handler

2016-09-09 Thread Jean-Baptiste Onofré
Hi Alex, You have to install pax-url-classpath bundle to have the classpath URL handler. On the other hand, now (since Karaf 4.0.5), both and creates a cfg file in the etc folder. Regards JB On 09/09/2016 06:04 PM, Alex Soto wrote: I guess it is not loaded by default. Added this to my

Re: features.xml and classpath URL handler

2016-09-09 Thread Jean-Baptiste Onofré
I'm not sure the classpath URL handler is loaded. If you do bundle:install classpath: do you have any issue ? Regards JB On 09/09/2016 04:27 PM, Alex Soto wrote: No, I am not using blueprint (at least in this context), this is a URL in the features.xml file. I am trying to deploy a

Re: features.xml and classpath URL handler

2016-09-09 Thread Alex Soto
No, I am not using blueprint (at least in this context), this is a URL in the features.xml file. I am trying to deploy a default config file as part of my feature. Karaf documentation does not mention all possible URLs it supports. It says: "The file URL is any URL supported by Apache Karaf

Re: features.xml and classpath URL handler

2016-09-09 Thread Jean-Baptiste Onofré
Hi, classpath is not a regular URL: AFAIK, classpath: is a specific Spring URL (not a blueprint regular URL). Do you use the blueprint spring extender ? Regards JB On 09/09/2016 03:42 PM, Alex Soto wrote: Hello, I am trying to deploy a config file which is a resource of one of the

features.xml and classpath URL handler

2016-09-09 Thread Alex Soto
Hello, I am trying to deploy a config file which is a resource of one of the deployed bundles. I write the features.xml classpath://my :: bundle/my.config.cfg When I run integration tests (PAX-EXAM) I get this error: Error installing boot features java.net.MalformedURLException: