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

modern generate project method #120

Open
wants to merge 2 commits into
base: bleeding
Choose a base branch
from

Conversation

mchhui
Copy link

@mchhui mchhui commented May 3, 2022

Synopsis / 简介

介绍了新版的构造项目的方法。

Description / 详细说明

介绍了在新版本中构建Eclipse和IDEA项目的办法。

Justification / 理由

现在的方法不适用于新版本的1.12.2forgemdk

Remarks / 备注

@@ -26,6 +26,8 @@
* 其他 IDE:不好意思你需要找对应的 Gradle 插件来解决问题,请查阅相关资料获得更多帮助。在这里的话就什么也不用加好了。
6. 回车运行。若看到 `BUILD SUCCESSFUL` 字样则表示大功告成,否则重复步骤 3. 和 4.,直到看到那个 `BUILD SUCCESSFUL` 为止。
7. 在你使用的 IDE 中以 Gradle 项目的形式导入工程目录。
8. 附注:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接移动到 ## 开发环境部署 下面会比较好

3. 如果上一步弹窗 询问导入方式 你应该选择`Open As Project`。
4. 此时IDEA会自动部署环境 右下角会有进度条 等待部署完成
5. 等待部署完成后 同Eclipse一样的方法打开命令行窗口
6. 输入 `gradlew genIntellijRuns` 回车
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDEA 这里能不能先 genIntellijRuns 之后再打开 IDEA 初始化?如果可以的话整个流程完全可以合并到原有的流程里

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK 我试了一下 如果先genIntellijRuns再导入项目 IDEA会右下角弹窗询问是否作为Gradle项目打开 如果选择是的话就和 文中流程结果一样了。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议还是在导入之后再执行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants