Yesterday, I have opened a ticket at PAX : http://issues.ops4j.org/browse/PAXURL-46
So, you can see the point of view of Alin Regards, gnodet wrote: > > This is the exact same error, so I'm not sure it really comes from the > spaces. > > 2009/3/30 cmoulliard <[email protected]>: >> >> If I don't put the space, bnd claims that the syntax is uncorrect : >> >> 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. >> >> >> gnodet wrote: >>> >>> Given the error, it looks much better as the argument is fully passed to >>> bnd. >>> Are you sure the spaces are required ? If so, I don't see why bnd >>> would return an error ? >>> What happens when you remove those ? >>> >>> On Mon, Mar 30, 2009 at 16:06, cmoulliard <[email protected]> wrote: >>>> >>>> Guillaume, >>>> >>>> I have tried also what you propose : >>>> >>>> Case : simple quote >>>> >>>> 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. >>>> >>>> Case : double quote >>>> >>>> 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. >>>> >>>> The space is required by bnd tool. >>>> >>>> Regards, >>>> >>>> Charles >>>> >>>> >>>> gnodet wrote: >>>>> >>>>> Would it be a problem to just remove those spaces ? >>>>> Have you also tried with quotes ? >>>>> >>>>> On Mon, Mar 30, 2009 at 15:38, cmoulliard <[email protected]> >>>>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> When I try to deploy a WAR in SMX4 using the following command, I >>>>>> receive >>>>>> errors. >>>>>> >>>>>> 1) Case with space >>>>>> 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 >>>>>> >>>>>> 2) Case with %20 >>>>>> 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 >>>>>> >>>>>> It seems that the character 'space' is not well or not supported at >>>>>> all >>>>>> by >>>>>> SMX4 >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ----- >>>>>> Charles Moulliard >>>>>> SOA Architect >>>>>> >>>>>> My Blog : http://cmoulliard.blogspot.com/ >>>>>> http://cmoulliard.blogspot.com/ >>>>>> -- >>>>>> View this message in context: >>>>>> http://www.nabble.com/Command-install-war%3A-containing-spaces---SMX4---PAX----tp22782934p22782934.html >>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Cheers, >>>>> Guillaume Nodet >>>>> ------------------------ >>>>> Blog: http://gnodet.blogspot.com/ >>>>> ------------------------ >>>>> Open Source SOA >>>>> http://fusesource.com >>>>> >>>>> >>>> >>>> >>>> ----- >>>> Charles Moulliard >>>> SOA Architect >>>> >>>> My Blog : http://cmoulliard.blogspot.com/ >>>> http://cmoulliard.blogspot.com/ >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Command-install-war%3A-containing-spaces---SMX4---PAX----tp22782934p22783985.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> -- >>> Cheers, >>> Guillaume Nodet >>> ------------------------ >>> Blog: http://gnodet.blogspot.com/ >>> ------------------------ >>> Open Source SOA >>> http://fusesource.com >>> >>> >> >> >> ----- >> Charles Moulliard >> SOA Architect >> >> My Blog : http://cmoulliard.blogspot.com/ >> http://cmoulliard.blogspot.com/ >> -- >> View this message in context: >> http://www.nabble.com/Command-install-war%3A-containing-spaces---SMX4---PAX----tp22782934p22786316.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/Command-install-war%3A-containing-spaces---SMX4---PAX----tp22782934p22799557.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
