Hi JB, You're right! Tested with 4.0.2 and it works! Aaarrrggghhhh, I didn't see it was reported some days ago: https://issues.apache.org/jira/browse/KARAF-4138
Is there a chance to get this fixed in 4.0.4? Best regards, Andreas 2015-11-26 10:35 GMT+01:00 Jean-Baptiste Onofré <j...@nanthrax.net>: > Hi Andreas, > > I suspect it's related to this commit: > > > https://github.com/apache/karaf/commit/536e123174c8a46733b1dadaae43a4bafea56e45 > > Freeman changed the KARAF_HOME, KARAF_BASE, etc using toURI(). > So the toURI() "transforms" space into '%20' AFAIR. > > I guess it works fine with Karaf 4.0.2 right ? > > Regards > JB > > > On 11/26/2015 09:04 AM, akuhtz wrote: > >> Hello, >> >> I've a problem with karaf-4.0.3 and space in the path. The spaces >> somewhere >> are replaced with '%20' and this results in the following exception when >> karaf.bat (or as service) s started: >> >> >> >> A new directory 'D:\temp\karaf%20-%20test\karaf-4.0.3' with the lock file >> and 'instances' sub-directory is created. The '%20' is in the path and not >> spaces ... >> >> If the path does not contain spaces it works correct. >> Can you give me a hint where to start the search to provide a PR later? >> ;-) >> >> Best regards, >> Andreas >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.com/Karaf-4-0-3-on-Windows-with-spaces-in-path-tp4043801.html >> Sent from the Karaf - User mailing list archive at Nabble.com. >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com >