Hi all,

I'm using apache-karaf-3.0.0.RC1, with Java 8u20 on Linux Red hat 6.2.

We use karaf features to install our bundles and configuration files into KARAF.
Example:
<feature name="language">
                               <configfile 
finalname="/etc/package.lang.cfg">mvn: 
package.lang/language/0.0.1-SNAPSHOT/cfg</configfile>
                               <bundle 
start-level="70">mvn:package.lang/language/0.0.1-SNAPSHOT</bundle>
</feature>

Everything works perfectly fine when we install and run our application on our 
development machine. However when we run a copied version of karaf on our 
integration platform, KARAF cannot find the configuration file.

We got a File not found exception saying that karaf wants a file on the 
KARAF_HOME/etc development machine instead of getting the configuration file 
from the integration platform KARAF_HOME/etc. example: 
/useraccounts/myuser/KARAF/ apache-karaf-3.0.0.RC1/etc/package.lang.cfg instead 
of ./etc/package.lang.cfg

It seems that feature installation uses absolute path for configuration files 
instead of a relative path.

Is there a way to configure features to use relative path? Or to set the a 
feature home directory?

Thanks a lot.

________________________________




Sébastien Deries
Tel. : + 33 (0)4 92 96 31 52
[email protected]<mailto:[email protected]>


[@@ THALES GROUP INTERNAL @@]

Reply via email to