GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — [cli] Designer: Fix quotes in PMD_OPENJFX_MODULE_PATH setting by acanda · Pull Request #6741 · pmd/pmd Conversation
Contributor
Describe the PRIf JAVAFX_HOME contains a path with spaces, e.g. Ready?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsIf JAVAFX_HOME contains a path with spaces, e.g. `C:\Program Files\Java\javafx-sdk-21.0.2`, the command `.\pmd.bat designer` would fail to start the designer with the error message `java.lang.ClassNotFoundException: Files\Java\javafx-sdk-21.0.2.lib`.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
UncleOwen
reviewed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have a Windows machine available to check, but don't you need to escape those?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You might think so, but you'd be wrong :-). SET only allows a handful of special characters to be escaped and the quotes are not one of them. Something like The documentation of SET states that the quotes on the right-hand side of the I don't know much about Windows batch scripts or their quoting logic but
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change is probably correct. On https://ss64.com/nt/set.html (section "Values with Spaces - using Double Quotes") there are some more examples. Since we have both the module path and the --add-modules parameter here, we can't add the quotes later on in line 31 (as we do for CLASSPATH). Note, that the bash version works a little bit different here, add the --add-modules parameter later ( pmd/pmd-dist/src/main/resources/scripts/pmd Line 255 in 8a740a4
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
adangel
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the fix! I've tested it under Windows and it works as expected.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
adangel
added a commit
that referenced
this pull request
adangel
added a commit
that referenced
this pull request
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
a:bug
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |