Project Files
No3x opened this issue · 4 comments
Hi there!
I would like to contribute but kinda overhelmed to setup gradle & eclipse. I usually develop with IntelliJ IDEA but the gradle script seems to rely on a eclipse project.
Would be great if you could share your current eclipse project to take this additional effort.
It's literally a gradle project. Export to folder and run gradlew
setupDecompWorkspace idea. it will work. the eclipse folder is a remnant of
earlier forge builds.
On Feb 9, 2016 8:01 PM, "Christian Zöller" [email protected] wrote:
Hi there!
I would like to contribute but kinda overhelmed to setup gradle & eclipse.
I usually develop with IntelliJ IDEA but the gradle script seems to rely on
a eclipse project.Would be great if you could share your current eclipse project to take
this additional effort.—
Reply to this email directly or view it on GitHub
#159.
Every needed file is in the repo. If you clone and run gradlew setupdecompworkspace idea
you should be good to go.
Thank you very much. I'm new to gradle and did not know that gradle could do that. I'm going to try it.
I think I got it building so far now. I'm able to generate the jar of your mod.
Are you guys able to run the server / client from the IDE? I'm experiencing problems with the CodeChickenCore library.
I commented in this line in build.gradle:
tasks.setupDecompWorkspace.dependsOn copyChicken
After experiencing errors that the library was not found. With this the lib seems to be included multiple times:
[23:23:41] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[23:23:41] [Server thread/INFO] [FML]: Searching /Users/x/IdeaProjects/Minecraft/HQM/eclipse/assets/mods for mods
[23:23:41] [Server thread/INFO] [FML]: Also searching /Users/x/IdeaProjects/Minecraft/HQM/eclipse/assets/mods/1.7.10 for mods
[23:23:51] [Server thread/ERROR] [FML]: Found a duplicate mod CodeChickenCore at [minecraft.jar, minecraft.jar]
[23:23:51] [Server thread/ERROR]: Encountered an unexpected exception
cpw.mods.fml.common.DuplicateModsFoundException:
Duplicate Mods:
CodeChickenCore : /Users/x/IdeaProjects/Minecraft/HQM/eclipse/assets/minecraft.jar
I'm curious because there is no minecraft.jar in assets at all. Any hints?