-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] StandardEnvironment does not work if path contains spaces #4357
Comments
I submitted a PR for this, please review and comment. |
Hi @xzel23 ! Could you please elaborate what you mean by "check out spoon from git to a location where the path contains a space character and run mvn compile test"? Maven commands can be run only in paths where a spoon/directory with spaces$ mvn compile test
The goal you specified requires a project to execute but there is no POM in this directory |
Yes, of course:
|
IMHO #4358 is ready for merging so that this can be closed after the PR is applied. |
Describe the bug
StandardEnvironment does not work if classpath contains spaces.
To Reproduce
check out spoon from git to a location where the path contains a space character and run
mvn compile test
. test will fail in:I think, the correct fix would be to refactor all methods taking a String argument for a path or filename should be refactored to use Path, in a first step by introducing a Path overload and deprecating the String versions.
Input: N/A
Processing with Spoon: N/A
Output: N/A
Operating system, JDK and Spoon version used
The text was updated successfully, but these errors were encountered: