Open JordenVerwer opened 11 years ago
When I run mvn vagrant:up -X in a project directory with spaces in the path, I see that the plugin tries to execute the following command:
mvn vagrant:up -X
[DEBUG] Execute:Java13CommandLauncher: Executing 'C:\Program Files\Java\jdk1.7.0_17\jre\bin\java.exe' with arguments: '-cp' 'C:\Users\Jorden\Eclipse workspace\goabout\backend\target\test-classes;C:\Users\Jorden\Eclipse workspace\goabout\backend\target\classes' '-client' '-Xmx384m' '-Djruby.home=C:\Users\Jorden\Eclipse' 'workspace\goabout\backend\target\jruby-1.7.2' '-Xbootclasspath/a:C:\Users\Jorden\.m2\repository\org\jruby\jruby-complete\1.7.2\jruby-complete-1.7.2.jar' 'org.jruby.Main' '-e' 'load('jar:file:C:\Users\Jorden\.m2\repository\org\jruby\jruby-complete\1.7.2\jruby-complete-1.7.2.jar!/META-INF/jruby.home/bin/gem')' '--' 'install' '--ignore-dependencies' '--no-rdoc' '--no-ri' '--no-user-install' '--no-verbose' 'C:\Users\Jorden\.m2\repository\rubygems\vagrant\1.0.7\vagrant-1.0.7.gem' 'C:\Users\Jorden\.m2\repository\rubygems\archive-tar-minitar\0.5.2\archive-tar-minitar-0.5.2.gem' 'C:\Users\Jorden\.m2\repository\rubygems\childprocess\0.3.9\childprocess-0.3.9.gem' 'C:\Users\Jorden\.m2\repository\rubygems\ffi\1.7.0\ffi-1.7.0.gem' 'C:\Users\Jorden\.m2\repository\rubygems\erubis\2.7.0\erubis-2.7.0.gem' 'C:\Users\Jorden\.m2\repository\rubygems\i18n\0.6.4\i18n-0.6.4.gem' 'C:\Users\Jorden\.m2\repository\rubygems\json\1.7.7\json-1.7.7.gem' 'C:\Users\Jorden\.m2\repository\rubygems\log4r\1.1.10\log4r-1.1.10.gem' 'C:\Users\Jorden\.m2\repository\rubygems\net-ssh\2.2.2\net-ssh-2.2.2.gem' 'C:\Users\Jorden\.m2\repository\rubygems\net-scp\1.0.4\net-scp-1.0.4.gem' '--bindir' 'C:\Users\Jorden\Eclipse workspace\goabout\backend\target\vagrant\gems-vagrant-maven-plugin\bin'
The jruby.home argument has been split on the path space. This makes the command fail.
jruby.home
When I run
mvn vagrant:up -X
in a project directory with spaces in the path, I see that the plugin tries to execute the following command:The
jruby.home
argument has been split on the path space. This makes the command fail.