You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by an...@apache.org on 2011/05/12 00:17:26 UTC

svn commit: r1102111 - /karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf

Author: anierbeck
Date: Wed May 11 22:17:26 2011
New Revision: 1102111

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

Modified:
    karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf

Modified: karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf?rev=1102111&r1=1102110&r2=1102111&view=diff
==============================================================================
--- karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf (original)
+++ karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/provisioning.conf Wed May 11 22:17:26 2011
@@ -212,6 +212,17 @@ class. Then we are passing in a beans ar
 
 For more informations about using the Configuration Admin service in Spring-DM, see the [Spring-DM documentation|http://static.springframework.org/osgi/docs/1.2.0-m2/reference/html/compendium.html#compendium:cm:props].
 
+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.
+
+{code}
+<configfile finalname="/etc/jetty.xml">mvn:org.apache.karaf/apache-karaf/${project.version}/xml/jettyconfig</configfile>
+{code}
+
+
 h3. Feature resolver
 
 The resolver attribute on a feature can be set to force the use of a given resolver instead of the default resolution process.  A resolver will be use to obtain the list of bundles to actually install for a given feature.