Skip to content
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

Switch to Gradles approach for serializing System properties #59

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Nov 27, 2023

Gradle expects the user to escape quotes in system properties themselves and relies on quoting the entire JVM argument that a system property is encoded as. (so systemProperty "a b", "c d" is encoded as -Da b=c d, which is then quoted in its entirety).

Also apply this quoting to VM arguments that are passed on to the Eclipse run configuration since the ECL library just joins VM arguments with spaces, without further quoting.

…xpects the user to escape quotes themselves). Escape VM arguments passed to Eclipse.
@marchermans marchermans merged commit dcbaf5b into neoforged:NG_7.0 Nov 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants