karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karafman <mvangeert...@comcast.net>
Subject features.cfg issue
Date Wed, 22 Dec 2010 15:41:26 GMT

When adding custom features.xml documents to org.apache.karaf.features.cfg on
the featuresRepositories line using the "file:///" url, this works:

But this does not:

When running config:list, the following is seen:


The error in the log is:
Caused by: java.net.URISyntaxException: Illegal character in authority at
index 7: file://${karaf.base}/etc/myApp.features.cfg

Karaf should resolve variables in the file url prior to attempting to get a
file-handle, thus allowing users to specify a file url containing
${karaf.base} instead of hard-coding the file location.

Slayer of the JEE
Pounder of the Perl Programmer

View this message in context: http://karaf.922171.n3.nabble.com/features-cfg-issue-tp2131894p2131894.html
Sent from the Karaf - User mailing list archive at Nabble.com.

View raw message