This is an automated email from the ASF dual-hosted git repository. jbonofre pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push: new 9fef4999da [KARAF-7798] Document potential need for escape character to wrap deployer new 5627aa37b3 Merge pull request #1815 from paulsp/KARAF-7798 9fef4999da is described below commit 9fef4999dafe8c791d8a2fdbee5c40366e7a3384 Author: Paul Spencer <paulspen...@mindspring.com> AuthorDate: Fri Jan 12 10:29:47 2024 -0500 [KARAF-7798] Document potential need for escape character to wrap deployer --- manual/src/main/asciidoc/user-guide/deployers.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manual/src/main/asciidoc/user-guide/deployers.adoc b/manual/src/main/asciidoc/user-guide/deployers.adoc index 7f07553821..108309ec6e 100644 --- a/manual/src/main/asciidoc/user-guide/deployers.adoc +++ b/manual/src/main/asciidoc/user-guide/deployers.adoc @@ -221,11 +221,12 @@ Export-Package = You can specify some MANIFEST headers by specifying the headers as URL parameters. -In the URL parameters, you can specify the headers using the '$' character and '&' to separate the different headers. -For instance: +In the URL parameters, you can specify the headers using the `$` character and `&` to separate the different headers. Depending +on the OS, the `$` and `&` characters may need to be preceed by `\`. +For instance in MacOS: ---- -karaf@root()> bundle: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",\!*' +karaf@root()> bundle: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",\!*' ---- When defined in a features.xml file, it's necessary to escape any ampersands and quotes, or use a CDATA tag: