Skip to content

Commit

Permalink
Merge pull request #1815 from paulsp/KARAF-7798
Browse files Browse the repository at this point in the history
[KARAF-7798] Document potential need for escape char to wrap deployer
  • Loading branch information
jbonofre authored Jan 12, 2024
2 parents cba422e + 9fef499 commit 5627aa3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions manual/src/main/asciidoc/user-guide/deployers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5627aa3

Please sign in to comment.