Posted February 17, 201510 yr I was doing some work on my mod today and i suffers a power outage. When i restarted my entire workspace was broken. Its kinda hard to describe the problem so i am just going to show you. Every single class looks like that. The weird thing is minecraft still starts and runs just fine. I have tried running gradlew setupDecompWorkspace and gradlew idea but i dont know what else to try. If i press ALT + Enter on anything at the top of the list is "Setup JDK" but my JDK setup looks fine. Any help with this would be greatly appreciated. I am the author of Draconic Evolution
February 17, 201510 yr Take a backup of you src folder (The code you are working on), and type in: gradlew clean gradlew setupDecompWorkspace gradlew idea This will clean development env and reset it, backup everything before. Files might be deleted. I require Java, both the coffee and the code
February 17, 201510 yr Author Unfortunately that did not fix the problem... Any other ideas? I even tried updating my JDK Edit: Whatever the problem is it seems to be affecting all of my workspaces not just the one i was working on at the time of the power outage. So maby its something with intellij? I am the author of Draconic Evolution
February 17, 201510 yr Author Yea it looks like its a problem with mi Intellij 14 install because i just started my Intellij 13.1 install and it works just fine. Edit: I will give that a try. If you mean the Intellij gradle integration i dont use that at all. I am the author of Draconic Evolution
February 17, 201510 yr Author That seems to have fixed the problem. Thanks for the help!!! I have just never felt the need. I really only ever use the build command unless i am updating forge or something. Or is it useful for more then that? I am the author of Draconic Evolution
February 17, 201510 yr Author I just run all the gradle commands from the built in terminal. IDEA automatically detects that something have changed and gives me an option to reload the project. Although im not sure if that works when adding dependencies via the build.gradle In any case you have convinced me to finally set it up so i am doing it now. I am the author of Draconic Evolution
February 17, 201510 yr Author Hmm maby a coincidence but as soon as the gradle setup finished the original problem came back and your fix nolonger works... I am the author of Draconic Evolution
February 17, 201510 yr Author Never mind i just had to re run setupDecompWorkspace and idea. Speaking of... The idea command doesn't seem to be in the gradle tasks list. I am the author of Draconic Evolution
February 18, 201510 yr Author Im not sure if im using the gradle import. I just clicked the "Unlinked Gradle Project" popup that has been harassing me whenever i open the workspace. I am the author of Draconic Evolution
February 18, 201510 yr I also had problems with Gradle integration in IntelliJ. I use the following method which works for me 1) gradlew setupDecompWorkspace 2) gradlew idea 3) Open project folder 4) When it asks "import unlinked gradle project" or words to that effect, choose yes 5) run the gradle task genIntellijRuns Works every time and gives me the gradle tasks especially build. -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.