karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anierb...@apache.org
Subject svn commit: r1101642 - /karaf/site/trunk/src/main/webapp/index/documentation/karaf-users-guide/4.-understanding-karaf/4.6.-provisioning.page
Date Tue, 10 May 2011 20:54:42 GMT
Author: anierbeck
Date: Tue May 10 20:54:42 2011
New Revision: 1101642

URL: http://svn.apache.org/viewvc?rev=1101642&view=rev
[KARAF-539] - Document configfile xml tag of features


Modified: karaf/site/trunk/src/main/webapp/index/documentation/karaf-users-guide/4.-understanding-karaf/4.6.-provisioning.page
URL: http://svn.apache.org/viewvc/karaf/site/trunk/src/main/webapp/index/documentation/karaf-users-guide/4.-understanding-karaf/4.6.-provisioning.page?rev=1101642&r1=1101641&r2=1101642&view=diff
--- karaf/site/trunk/src/main/webapp/index/documentation/karaf-users-guide/4.-understanding-karaf/4.6.-provisioning.page
+++ karaf/site/trunk/src/main/webapp/index/documentation/karaf-users-guide/4.-understanding-karaf/4.6.-provisioning.page
Tue May 10 20:54:42 2011
@@ -294,6 +294,16 @@ To make more than one configuration file
 In this example, we are using SpringDM with osgi as the primary namespace. Instead of using
ctx:context-placeholder we are using the "PropertyPlaceholderConfig" class. Then we are passing
in a beans array and inside of that array is where we set our osgix:cm-properties elements.
This element "returns" a properties bean.
 For more informations about using the Configuration Admin service in Spring-DM, see the [Spring-DM
+h3. Configuration files
+*Available since Karaf 2.2*
+In certain cases it is needed not only to provide configurations for the configuration admin
service but to add additional configuration files e.g. a configuration file for jetty (jetty.xml).
It even might be help full to deploy a configuration file instead of a configuration for the
config admin service since. To achieve this the attribute {{finalname}} shows the final destination
of the {{configfile}}, while the value references the maven artifact to deploy.
+<configfile finalname="/etc/jetty.xml">mvn:org.apache.karaf/apache-karaf/${project.version}/xml/jettyconfig</configfile>
\ No newline at end of file

View raw message