[
http://issues.ops4j.org/browse/PAXURL-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12120#action_12120
]
Alin Dreghiciu commented on PAXURL-46:
--------------------------------------
My first guess is that the problem is the space you have between the comma and
WEB-INF.
However it looks like an smx console problem which thinks (due to spaces) that
you actually want to install 3 bundles from 3 urls. I do not know that console
so I cannot advice but it can be that you canuse quotes like in:
install "war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath=.,
WEB-INF/tags/form, WEB-INF/tags/jms&WebWebapp-Context=activemqweb"
Another option is to use the war-i: protocol that will allow you to specify an
url of a file that points to the war and instructions as in:
Create a file activemq-web-console.bnd and place it in d:/temp/ with the
following content:
WAR-URL=file:///d:/temp/activemq-web-console-5.2.0.war
Bundle-Classpath=., WEB-INF/tags/form, WEB-INF/tags/jms
WebWebapp-Context=activemqweb
and then use: war-i:file:///d:/temp/activemq-web-console-5.2.0.bnd
> Issue with Bundle-Classpath uri parameter
> -----------------------------------------
>
> Key: PAXURL-46
> URL: http://issues.ops4j.org/browse/PAXURL-46
> Project: Pax URL
> Issue Type: Bug
> Reporter: Charles Moulliard
> Assignee: Alin Dreghiciu
>
> Hi,
> I have tried different ways to provide as parameter the Bundle-Classpath but
> here is the errors returned :
> {code}
> s...@root:osgi> install
> war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath= .,
> WEB-INF/tags/form, WEB-INF/tags/jms&WebWebapp-Context= activemqweb
> java.net.MalformedURLException: Invalid syntax for instruction
> [Bundle-Classpath=]. Take a look at http://www.aqute.biz/Code/Bnd.
> java.net.MalformedURLException: no protocol: .,
> java.net.MalformedURLException: no protocol: WEB-INF/tags/form,
> java.net.MalformedURLException: no protocol:
> WEB-INF/tags/jms&WebWebapp-Context=
> java.net.MalformedURLException: no protocol: activemqweb
> s...@root:osgi> install
> war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath=.,
> WEB-INF/tags/form, WEB-INF/tags/jms&WebWebapp-Context=activemqweb
> java.net.MalformedURLException: no protocol: WEB-INF/tags/form,
> java.net.MalformedURLException: no protocol:
> WEB-INF/tags/jms&WebWebapp-Context=activemqweb
> Bundle ID: 158
> s...@root:osgi> install
> war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath='.,
> WEB-INF/tags/form, WEB-INF/tags/jms'&WebWebapp-Context=activemqweb
> java.net.MalformedURLException: Invalid syntax for instruction
> [Bundle-Classpath='., WEB-INF/tags/form, WEB-INF/tags/jms']. Take a look at
> http://www.aqute.biz/Code/Bnd.
> s...@root:osgi> install
> war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath=.,WEB-INF/tags/form,WEB-INF/tags/jms&WebWebapp-Context=activemqweb
> java.net.MalformedURLException: Invalid syntax for instruction
> [Bundle-Classpath=.,WEB-INF/tags/form,WEB-INF/tags/jms]. Take a look at
> http://www.aqute.biz/Code/Bnd.
> s...@root:osgi> install
> war:file:///d:/temp/activemq-web-console-5.2.0.war?Bundle-Classpath=.,%20WEB-INF/tags/form,%20WEB-INF/tags/jms&WebWebapp-Context=activemqweb
> java.net.MalformedURLException: Invalid syntax for instruction
> [Bundle-Classpath=.,%20WEB-INF/tags/form,%20WEB-INF/tags/jms]. Take a look at
> http://www.aqute.biz/Code/Bnd
> {code}
> Is is a bug or a mistake in my syntax ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general