我可以看到IntelliJ用于构建java项目的确切命令吗?
IDEA is not running java binary, so there is no way to see the commands. Instead, IDEA uses Java compiler API directly. If you want a raw representation of what is done to build the project, you can use Build | Generate Ant build. Examine the build file or run it from the command line via Ant to see what happens and what options/commands are invoked.
If you run a certain run configuration, check the output console (Ctrl+0) For example, it shows something like:
"C:\Program Files\Java\jdk1.5.0_22\bin\java" -Didea.launcher.port=7532 "-Didea.launcher...
Process finished with exit code 0
The first line is the command for building and running the module...
Look in ~/Library/Logs/IdeaIC13/build-log. You can turn on ALL debugging in build-log.xml in this directory. When you build inside IDEA, it writes a log to build.log in this directory.
我不认为您可以直接获取构建的输出,但您可以在“设置”对话框的“编译器”选项卡中查看和编辑IntelliJ使用的编译器选项。
CTRL-F9
for all key commands you can check ( and print) the keymap, its available in hte help tab.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.