Weird behaviour after running "./gradlew eclipse"
What you were trying to do
Run game from source.
What actually happened
Crash.
How to reproduce
- Clone project to local folder.
- Run
./graldew run. Game will load successfully. - Now run
./graldew eclipse. Gradle will reportBUILD SUCCESSFUL. Eclipse will show a lot of errors due to missing dependencies. - Run
./graldew run. Game will crash.
Log details and game version
https://pastebin.com/vPECMfiX Game version: head https://github.com/MovingBlocks/DestinationSol/commit/cba3f9a699870912e9e58470478bbc089efe8979
Computer details
Ubuntu 16.04, AMD 64 bit, if that matters.
Update
Removing folder and cloning project again not helping. Although a crash this time is different.
Hello, there is a temporary workaround for this! First off, get the latest source, because some eclipse fixes were added. After you run ./gradlew eclipse, copy the contents of the folder engine/src/main/resources to desktop/src/main/resources. Now try to run it! I, too run Ubuntu and it took me a while to come to this solution. Hope it helps!
Thanks.
I'm currently working on a separate boot strapping class for DestSol that is targeted at eclipse. When you run ./gradlew eclipse it would copy in the correct bootstrapper, and remove it and copy in the new one if you were to switch to idea. I'll post here when I'm done.