我可以看到IntelliJ用于构建Java项目的确切命令吗? [英] Can I see the exact commands IntelliJ uses to build a java project?

查看:147
本文介绍了我可以看到IntelliJ用于构建Java项目的确切命令吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以看到IntelliJ用于构建java项目的确切命令吗?

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

推荐答案

IDEA没有运行java二进制文件,所以没有办法看到命令。相反,IDEA直接使用Java编译器API。如果您想要对构建项目所做的工作进行原始表示,则可以使用构建|生成Ant 构建。检查构建文件或通过Ant从命令行运行它,看看会发生什么以及调用哪些选项/命令。

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.

这篇关于我可以看到IntelliJ用于构建Java项目的确切命令吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆