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

Fix spaces in Gradle user home breaking IntelliJ run configurations #57

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Nov 25, 2023

To reproduce this in IntelliJ:
image

Fixes #54

@marchermans
Copy link
Contributor

This commit does not explain why it is fixed.....

We were already quoting the programme arguments it is crashing over. What do jvm arguments have to do with this?

@Matyrobbrt
Copy link
Member

The module classpath is a jvm argument. See: https://discord.com/channels/313125603924639766/801175194298744902/1178110006088974376

@shartte
Copy link
Contributor Author

shartte commented Nov 26, 2023

This commit does not explain why it is fixed.....

We were already quoting the programme arguments it is crashing over. What do jvm arguments have to do with this?

In Eclipse Run configurations, the JVM arguments are passed as an array and Eclipse seems to take care of escaping individual arguments. For IntelliJ, we have to do that. And as maty says, the module path (which contains paths pointing into GRADLE_USER_HOME) will be a JVM argument.

@sciwhiz12 sciwhiz12 added the bug Something isn't working label Nov 26, 2023
@marchermans marchermans merged commit 24a5f07 into neoforged:NG_7.0 Nov 26, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot run client in dev due to space in my Windows file path
4 participants