Posted April 21, 201411 yr I've been looking for an answer to this for a little while and thought maybe someone would recognize the error and send me in the right direction. I'm going to port some of my 1.7.2 mods to 1.6.4 by request and got the forge-1.6.4-9.11.1.964-src.zip file and extracted it, and ran (through gradlew) setupDevWorkspace, and then eclipse, and then I tried to run setupDecompWorkspace and received a failed build error. The log that contains the build info is in the spoiler below. [spoiler=Gradle.log] **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** :downloadMcpTools UP-TO-DATE :extractUserDev :genSrgs UP-TO-DATE :downloadClient SKIPPED :downloadServer SKIPPED :mergeJars SKIPPED :deobfuscateJar UP-TO-DATE :decompile SKIPPED :doFmlPatches SKIPPED :addFmlSources UP-TO-DATE :remapJar SKIPPED :doForgePatchesPatching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cannot find hunk target Hunk 7 failed! Cannot find hunk target Hunk 8 failed! Cannot find hunk target Patching failed: net/minecraft/client/renderer/RenderBlocks.java Cannot find hunk target Hunk 6 failed! Cannot find hunk target Hunk 10 failed! Cannot find hunk target Patching failed: net/minecraft/client/renderer/entity/RenderItem.java Cannot find hunk target Hunk 6 failed! Cannot find hunk target Hunk 11 failed! Cannot find hunk target Hunk 12 failed! Cannot find hunk target Patching failed: net/minecraft/world/gen/feature/WorldGenTaiga2.java Cannot find hunk target Hunk 4 failed! Cannot find hunk target Hunk 5 failed! Cannot find hunk target FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':doForgePatches'. > Could not call EditJarTask.doTask() on task ':doForgePatches' * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 24.103 secs As always, any help is greatly appreciated. Thank you. http://i43.tinypic.com/95v5n9.png[/img]
April 21, 201411 yr i dont know whether this is right it may just be a theory, but when i set gradle up for 1.7 i did "gradlew setupDecompWorkspace" then "gradlew eclipse" so I would suggest using a clean install and running just the two commands in this order and seeing if that works
April 21, 201411 yr Author Yeah I thought a clean install would work too, but the problem persists. I think I'll just leave 1.6.4 alone. I'm not that worried about porting my mods to previous versions. But thanks anyway http://i43.tinypic.com/95v5n9.png[/img]
April 22, 201411 yr First run gradlew setupDecompWorkspace then gradlew setupDevWorkspace and then gradlew eclipse If you didn't understand, first setup decomplie workspace and only then setup Developer Workspace and then run IDE task. Also before running commands delete all files from the folder you have extracted the files and then reextract the forge zip.
April 26, 201411 yr edit: Java 8 doesn't work with 1.6.4 ForgeGradle, make sure your JAVA_HOME is set to a java 7 JDK.
April 26, 201411 yr This is caused by FernFlower not decompiling corrrectly. Because of this, ForgeGradle 1.0 (MC 1.6.4) and ForgeGradle 1.1 (early 1.7.2) Only work correctly with Java 7. AKA: Set your JAVA_HOME bariable to your JDK 7 installation. http://i56.tinypic.com/ruu0ao.png[/img] ^^ url to be changed.
May 4, 20232 yr your fernflower is corrupted, use this fernflower https://www.dropbox.com/s/fmmz00l3daosjbo/fernflower.jar?dl=0 and put it in C:\Users\USER_NAME\.gradle\caches\minecraft\fernflower.jar, that should fix the error sorry if I am too late
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.