You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by ff...@apache.org on 2012/12/03 07:14:52 UTC

svn commit: r1416355 - /karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf

Author: ffang
Date: Mon Dec  3 06:14:52 2012
New Revision: 1416355

URL: http://svn.apache.org/viewvc?rev=1416355&view=rev
Log:
[KARAF-2043]Document caveats of Pax Url Wrap when used in Karaf Shell

Modified:
    karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf

Modified: karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf?rev=1416355&r1=1416354&r2=1416355&view=diff
==============================================================================
--- karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf (original)
+++ karaf/branches/karaf-2.3.x/manual/src/main/webapp/users-guide/deployer.conf Mon Dec  3 06:14:52 2012
@@ -206,4 +206,21 @@ Export-Package =
         org.apache.commons.lang.time;uses:=org.apache.commons.lang
 
 
-{code}
\ No newline at end of file
+{code}
+
+
+You may set the manifest headers by specifying them as URL parameters, '$' is used separate the hierarch path and query parts of the URL, with standard URL syntax for query parameters of key=value pairs joined by '&'.
+
+On the command line you must use single quotes around the URL to prevent the shell from attempting variable expansion, and if present, you must escape exclamation marks with a backslash.
+
+{code}
+install -s 'wrap:mvn:jboss/jbossall-client/4.2.3.GA/$Bundle-SymbolicName=jbossall-client&Bundle-Version=4.2.3.GA&Export-Package=org.jboss.remoting;version="4.2.3.GA",\!*'
+{code}
+
+When defined in a features.xml file, it's necessary to escape any ampersands and quotes, or use a CDATA tag.
+
+{code:lang=xml}
+<bundle>wrap:mvn:jboss/jbossall-client/4.3.2.GA/$Bundle-SymbolicName=jbossall-client&amp;Bundle-Version=4.3.2.GA&amp;Export-Package=org.jboss.remoting;version=&quot;4.3.2.GA&quot;,!*</bundle>
+{code}
+
+