Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enchantment] 部署Forge开发环境步骤需要更新 #74

Open
nainiu233 opened this issue Jun 3, 2020 · 3 comments
Open

[Enchantment] 部署Forge开发环境步骤需要更新 #74

nainiu233 opened this issue Jun 3, 2020 · 3 comments
Labels
Status: Considering This is being discussed - please be patient. Type: Enhancement No new stuff, not an error, but something good to have, like a QoL change.

Comments

@nainiu233
Copy link

Synopsis / 简介

部署Forge开发环境步骤错误

Analysis / 分析

以下内容引自Forger README.txt
`Step 1: Open your command-line and browse to the folder where you extracted the zip file.

Step 2: You're left with a choice.
If you prefer to use Eclipse:

  1. Run the following command: "gradlew genEclipseRuns" (./gradlew genEclipseRuns if you are on Mac/Linux)
  2. Open Eclipse, Import > Existing Gradle Project > Select Folder
    or run "gradlew eclipse" to generate the project.
    (Current Issue)
  3. Open Project > Run/Debug Settings > Edit runClient and runServer > Environment
  4. Edit MOD_CLASSES to show [modid]%%[Path]; 2 times rather then the generated 4.

If you prefer to use IntelliJ:

  1. Open IDEA, and import project.
  2. Select your build.gradle file and have it import.
  3. Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
  4. Refresh the Gradle Project in IDEA if required.`

现在已经不需要进行gradlew.bat setupDecompWorkspace操作了
反而会报错Task 'setupDecompWorkspace' not found in root project 'MY_MOD'.

Proposed Correction / 建议修改为……

建议删除

@yuki-harbinger
Copy link

yuki-harbinger bot commented Jun 3, 2020

Invalid title format!

@yuki-harbinger yuki-harbinger bot closed this as completed Jun 3, 2020
@nainiu233 nainiu233 changed the title 部署Forge开发环境步骤错误 [Erratum/Errata] Jun 3, 2020
@nainiu233 nainiu233 changed the title [Erratum/Errata] [Erratum/Errata]部署Forge开发环境步骤错误 Jun 3, 2020
@3TUSK 3TUSK reopened this Jun 3, 2020
@3TUSK
Copy link
Member

3TUSK commented Jun 3, 2020

现在已经不需要进行gradlew.bat setupDecompWorkspace操作了

嗯…… 教程限定 Forge 版本是有原因的。构建 2847、2851、2852、2854 本质上是一样的,唯一的区别在于后三个使用的 ForgeGradle 版本是 3.1。
如果你使用 2847,那还是需要 setupDecompWorkspace 的。因为 2847 使用的仍然是 FG2.3。

@3TUSK 3TUSK changed the title [Erratum/Errata]部署Forge开发环境步骤错误 [Enchantment]部署Forge开发环境步骤需要更新 Jun 3, 2020
@3TUSK 3TUSK added Status: Pending We need to find free time to take a look at this one. Type: Enhancement No new stuff, not an error, but something good to have, like a QoL change. labels Jun 3, 2020
@SeraphJACK
Copy link
Contributor

Harbinger 指定的 Forge 版本使用的仍然是 FG2 ,因此不建议修改。

@SeraphJACK SeraphJACK added Status: Considering This is being discussed - please be patient. and removed Status: Pending We need to find free time to take a look at this one. labels Jun 3, 2020
@SeraphJACK SeraphJACK changed the title [Enchantment]部署Forge开发环境步骤需要更新 [Enchantment] 部署Forge开发环境步骤需要更新 Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Considering This is being discussed - please be patient. Type: Enhancement No new stuff, not an error, but something good to have, like a QoL change.
Projects
None yet
Development

No branches or pull requests

3 participants