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.
