From 45e2d12d0638477e7eecbb34ae28e53c85fd0d79 Mon Sep 17 00:00:00 2001 From: luacs1998 Date: Wed, 20 Nov 2013 15:49:08 +0800 Subject: [PATCH 1/4] Update readme for ForgeGradle Let me know if there's anything else to add or change. --- README.txt | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/README.txt b/README.txt index b84642def6..402a68d632 100644 --- a/README.txt +++ b/README.txt @@ -1,30 +1,18 @@ *** HOW TO INSTALL *** For Mod Users: -Copy all files from this zip to your minecraft.jar, thats it. -Thats it, you're done, during first run FML will download all needed libraries for you. +Download the latest installer from http://files.minecraftforge.net and follow instructions given by the installer. For Mod Devs: -The install scripts should take care of everything for you, you do NOT need to -have MCP installed before running install.cmd/sh as Forge will download it for you. - -Just start the install.cmd/.sh, MCForge will install itself into the proper -locations and copy all needed files, as well as modifying the needed baseclasses. - -Forge also includes a snapshot of the MCP mapings, this may not be the current -version of the mapings. But you must use the provided mapings in order for the -patch files to work together. - +Download the latest Forge source distribution from http://files.minecraftforge.net and unzip it to a folder. +Open a command prompt, navigate to the directory where you unzipped the Forge sources, and run: +If you have Gradle: gradle setupDevWorkspace +If you DO NOT have Gradle installed: +Windows: gradlew.bat setupDevWorkspace +MacOS/Linux: gradlew setupDevWorkspace Requirements: - You must ahve a JDK installed and accessible, there is a big in java 1.6_21 that + You must have a JDK installed and accessible, there is a big in java 1.6_21 that causes compile errors, just update your jdk to fix them. - -For Mac users: - It should automatically set the execution bits on mcp/runtime/bin/astyle-osx, - if it does not, please do so manually: chmod +x mcp/runtime/bin/astyle-osx - -For Linux users: - Astyle is required for the patches to apply properly, so either install wine, or astyle - Instalation instructions are distro specific, so I can not give them here. \ No newline at end of file + Optionally, you can install Gradle from http://www.gradle.org/ . From 36ce23073c851fc2c1cdde029797935ec37a660e Mon Sep 17 00:00:00 2001 From: luacs1998 Date: Wed, 20 Nov 2013 16:09:34 +0800 Subject: [PATCH 2/4] Updated --- README.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 402a68d632..24667461ea 100644 --- a/README.txt +++ b/README.txt @@ -3,6 +3,7 @@ For Mod Users: Download the latest installer from http://files.minecraftforge.net and follow instructions given by the installer. + For Mod Devs: Download the latest Forge source distribution from http://files.minecraftforge.net and unzip it to a folder. @@ -12,7 +13,18 @@ If you DO NOT have Gradle installed: Windows: gradlew.bat setupDevWorkspace MacOS/Linux: gradlew setupDevWorkspace -Requirements: +If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace. + + +For Contributors: (Note: This assumes you have Gradle installed. If you don't, use gradlew(.bat) instead of gradle. + +Clone this repository to a folder. +Open a command prompt and navigate to the folder where you cloned this repo. +Run gradle setupForge to setup your development environment. + + +Requirements (for both mod devs and contributors): You must have a JDK installed and accessible, there is a big in java 1.6_21 that causes compile errors, just update your jdk to fix them. - Optionally, you can install Gradle from http://www.gradle.org/ . + If you do not wish to use the gradle wrapper, you can install Gradle from http://www.gradle.org/ . + From c1c88644aeb5ca9cecf491063ad78432a578d9f5 Mon Sep 17 00:00:00 2001 From: luacs1998 Date: Wed, 20 Nov 2013 16:16:48 +0800 Subject: [PATCH 3/4] Another update for eclipse users --- README.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 24667461ea..cd1b89c2b5 100644 --- a/README.txt +++ b/README.txt @@ -13,7 +13,7 @@ If you DO NOT have Gradle installed: Windows: gradlew.bat setupDevWorkspace MacOS/Linux: gradlew setupDevWorkspace -If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace. +If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace, or install the Gradle plugin for Eclipse and import the Forge source folder as a Gradle project. For Contributors: (Note: This assumes you have Gradle installed. If you don't, use gradlew(.bat) instead of gradle. @@ -22,6 +22,8 @@ Clone this repository to a folder. Open a command prompt and navigate to the folder where you cloned this repo. Run gradle setupForge to setup your development environment. +To use Eclipse, point your Eclipse workspace at the eclipse folder inside the repo. + Requirements (for both mod devs and contributors): You must have a JDK installed and accessible, there is a big in java 1.6_21 that From 30680d02681d0d6903e445a994b9991837f7bf99 Mon Sep 17 00:00:00 2001 From: luacs1998 Date: Wed, 20 Nov 2013 22:49:20 +0800 Subject: [PATCH 4/4] Update README.txt --- README.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.txt b/README.txt index cd1b89c2b5..029c339be6 100644 --- a/README.txt +++ b/README.txt @@ -10,13 +10,13 @@ Download the latest Forge source distribution from http://files.minecraftforge.n Open a command prompt, navigate to the directory where you unzipped the Forge sources, and run: If you have Gradle: gradle setupDevWorkspace If you DO NOT have Gradle installed: -Windows: gradlew.bat setupDevWorkspace -MacOS/Linux: gradlew setupDevWorkspace +Windows: ./gradlew.bat setupDevWorkspace +MacOS/Linux: ./gradlew setupDevWorkspace If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace, or install the Gradle plugin for Eclipse and import the Forge source folder as a Gradle project. -For Contributors: (Note: This assumes you have Gradle installed. If you don't, use gradlew(.bat) instead of gradle. +For Contributors: (Note: This assumes you have Gradle installed. If you don't, use ./gradlew(.bat) instead of gradle. Clone this repository to a folder. Open a command prompt and navigate to the folder where you cloned this repo. @@ -26,7 +26,6 @@ To use Eclipse, point your Eclipse workspace at the eclipse folder inside the re Requirements (for both mod devs and contributors): - You must have a JDK installed and accessible, there is a big in java 1.6_21 that - causes compile errors, just update your jdk to fix them. + You must have a JDK installed and accessible. If you do not wish to use the gradle wrapper, you can install Gradle from http://www.gradle.org/ .