Error Running Tests After Cloning Code #12423
Replies: 4 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hey Dan, thanks for getting back to me! I've seen your name everywhere in the code. That was super thorough. My issue was the Gradle JVM version that defaulted to 20 instead of 11. Downloading gradle 11 and running that got it working. Even though I now have it running, I'm still not sure how to test my changes. I wanted to fix the error that happens when you try to open a saved game via mac OS. Current behavior is loading the save game and throwing an error message. Instead, I want it to start the game. How can I open a tsvg on my computer and have it open in the Intellij HeadedGameRunner? I can submit a PR so you can see my suggested changes |
Beta Was this translation helpful? Give feedback.
-
@skuklinsky Given the error message you were looking for doesn't exist in 2.6, are you sure the issue you're trying to fix isn't already fixed in 2.6? You can get the latest one here: But even if that issue is fixed, we'd certainly be happy to have more contributors. There are some other issues with save game files that could use some help! Let us know! |
Beta Was this translation helpful? Give feedback.
-
In 2.6 prerelease this scenario no longer throws an error, so I will put this issue to bed. I was originally thinking that clicking a tsvg from the OS should also immediately launch into the local game, but now I think that opening to the home page panel (current behavior) is ideal since there are multiple options other than Start Local Game (like host networked game). Thanks for all the input. I'll let you know if I try to tackle the other save game issues. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to add a small feature and I want to test my implementation but I'm running into errors. Even without changes to the code, when I download the latest repo and follow the Developer Setup instructions and run HeadedGameRunner in IntelliJ, I get the error:
Task :game-app:map-data:compileJava FAILED. class com.sun.tools.javac.tree.JCTree$JCLiteral cannot be cast to class com.sun.tools.javac.tree.JCTree$JCCaseLabel (com.sun.tools.javac.tree.JCTree$JCLiteral and com.sun.tools.javac.tree.JCTree$JCCaseLabel are in module jdk.compiler of loader 'app'.
Any idea how to get HeadedGameRunner to run out of the box?
Beta Was this translation helpful? Give feedback.
All reactions