miniboxing-plugin icon indicating copy to clipboard operation
miniboxing-plugin copied to clipboard

"sbt compile package test" doesn't work with spaces in pathname

Open MelodyLucid opened this issue 11 years ago • 2 comments

The command sbt compile package test fails every test if the path name contains any space character.

I tried to follow the guide install the project from the wiki. At the compiling step, if I launch the command sbt compile package test from a pathname that contains spaces (for instance /home/user/pathname with spaces/miniboxing-plugin), all the tests that follow the command fail.

Example output :

[...]

Picking tests from: /home/user/pathname with spaces/miniboxing-plugin/tests/correctness/src/miniboxing/tests/compile
Compiling gh-bug-1.scala                                               ... [FAIL]
Diff: 
--- output
+++ expected
@@ -1,1 +1,2 @@
-
+Warning: could not load descriptor for plugin /home/user/pathname
+error: bad option: -P:minibox:spec-no-opt


Compiling gh-bug-11.scala                                              ... [FAIL]
Diff: 
--- output
+++ expected
@@ -1,1 +1,2 @@
-
+Warning: could not load descriptor for plugin /home/user/pathname
+error: bad option: -P:minibox:spec-no-opt

[...]

MelodyLucid avatar Feb 18 '14 10:02 MelodyLucid

Originally, it was the mb-scalac that didn't work, but I couldn't reproduce the bug.

MelodyLucid avatar Feb 18 '14 16:02 MelodyLucid

Thanks @MelodyLucid! I will try the plugin with spaces in the path.

VladUreche avatar Feb 18 '14 16:02 VladUreche