Can I see the exact commands IntelliJ uses to build a java project?

后端 未结 5 1380
野的像风
野的像风 2020-12-29 17:43

Can I see the exact commands IntelliJ uses to build a java project?

5条回答
  •  一生所求
    2020-12-29 18:43

    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.

提交回复
热议问题