DestinationSol icon indicating copy to clipboard operation
DestinationSol copied to clipboard

Weird behaviour after running "./gradlew eclipse"

Open Foghrye4 opened this issue 8 years ago • 3 comments

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 report BUILD 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.

Foghrye4 avatar Dec 30 '17 16:12 Foghrye4

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!

Steampunkery avatar Jan 22 '18 23:01 Steampunkery

Thanks.

Foghrye4 avatar Jan 23 '18 05:01 Foghrye4

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.

Steampunkery avatar Jan 29 '18 01:01 Steampunkery