Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364448

Summary: Virgo will not start if installed in a path containing a space
Product: [RT] Virgo Reporter: Glyn Normington <glyn.normington>
Component: runtimeAssignee: Chris Frost <eclipse>
Status: REOPENED --- QA Contact:
Severity: minor    
Priority: P3 CC: eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 394647, 408811    

Description Glyn Normington CLA 2011-11-22 04:40:42 EST

    
Comment 1 Glyn Normington CLA 2011-11-23 11:24:09 EST
This was reported by a user without much detail. I tried unzipping a kernel build in a directory "C:\a b" and it started perfectly, so this may be a known issue of a long path. Closing as unreproducible until/unless we get more details.
Comment 2 Glyn Normington CLA 2012-11-20 07:35:18 EST
This fails on Mac OS X:

$ pwd
/Users/glynnormington/bugs2/pathwith space/virgo-kernel-3.6.0.M03

$ bin/startup.sh -clean
/Users/glynnormington/bugs2/pathwith space/virgo-kernel-3.6.0.M03/bin/dmk.sh: line 21: cd: /Users/glynnormington/bugs2/pathwith: No such file or directory
/Users/glynnormington/bugs2/pathwith space/virgo-kernel-3.6.0.M03/bin/dmk.sh: line 24: /Users/glynnormington/bugs2/pathwith: No such file or directory
/Users/glynnormington/bugs2/pathwith space/virgo-kernel-3.6.0.M03/bin/dmk.sh: line 27: [: /Users/glynnormington/bugs2/pathwith: binary operator expected
/Users/glynnormington/bugs2/pathwith space/virgo-kernel-3.6.0.M03/bin/dmk.sh: line 34: /Users/glynnormington/bugs2/pathwith: No such file or directory
chmod: /Users/glynnormington/bugs2/pathwith: No such file or directory
chmod: space/virgo-kernel-3.6.0.M03/configuration/org.eclipse.virgo.kernel.jmxremote.access.properties: No such file or directory
Error: Exception thrown by the agent : java.io.FileNotFoundException: /Users/glynnormington/bugs2/pathwith (Socket operation on non-socket)
Comment 3 Chris Frost CLA 2012-12-11 09:30:42 EST
I have pushed a fix to the dmk.sh script to improve the quoting. This isn't a whole fix though as further work is required to ensure arguments are passes to the executable correctly.