修改为中文

master
星期八 5 years ago
parent f797f552fd
commit 2feb23f594
  1. 28
      import-into-idea.md

@ -13,24 +13,24 @@ _在本地克隆的spring框架工作目录中:_
1. 由于重新打包的依赖关系,应该预先编译`spring-core` 和 `spring-oxm`
请参考构建中 `*RepackJar` 任务 和 https://youtrack.jetbrains.com/issue/IDEA-160605).
2. `spring-aspects` does not compile due to references to aspect types unknown to
IntelliJ IDEA. See https://youtrack.jetbrains.com/issue/IDEA-64446 for details. In the meantime, the
'spring-aspects' can be excluded from the project to avoid compilation errors.
3. While JUnit tests pass from the command line with Gradle, some may fail when run from
IntelliJ IDEA. Resolving this is a work in progress. If attempting to run all JUnit tests from within
IntelliJ IDEA, you will likely need to set the following VM options to avoid out of memory errors:
2. `spring-aspects` 由于对IntelliJ IDEA未知的方面类型的引用而无法编译。
详见 https://youtrack.jetbrains.com/issue/IDEA-64446。 同时, 这个
'spring-aspects' 可以从项目中排除以避免编译错误.
3. 当JUnit测试通过Gradle命令行时,IntelliJ IDEA有些可能在运行时失败。
解决这个问题正在进行中。IntelliJ IDEA 如果尝试从内部运行所有JUnit测试,
您可能需要设置以下VM选项,以避免出现内存不足错误:
-XX:MaxPermSize=2048m -Xmx2048m -XX:MaxHeapSize=2048m
4. If you invoke "Rebuild Project" in the IDE, you'll have to generate some test
resources of the `spring-oxm` module again (`./gradlew :spring-oxm:compileTestJava`)
4. 如果您在IDE中调用“重建项目”, 你必须产生一些测试的资源 `spring-oxm` 再次模块 (`./gradlew :spring-oxm:compileTestJava`)
## Tips
## 提示
In any case, please do not check in your own generated .iml, .ipr, or .iws files.
You'll notice these files are already intentionally in .gitignore. The same policy goes for eclipse metadata.
在任何情况下,
请不要检查自己生成的 .iml, .ipr, or .iws 文件.
您会注意到这些文件已经被有意放入 .gitignore. 元数据使用eclipse相同的策略.
## FAQ
## 常问问题
Q. What about IntelliJ IDEA's own [Gradle support](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration)?
Q.IntelliJ IDEA自己怎么办 [Gradle support](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration)?
A. Keep an eye on https://youtrack.jetbrains.com/issue/IDEA-53476
A.留意 https://youtrack.jetbrains.com/issue/IDEA-53476

Loading…
Cancel
Save