intellj idea中target目录和out目录有什么区别

图片描述

out存放的是该项目下所有Module(模块)的编译结果。 
target存放的是单个Module的编译结果。 
如果为某个Module指定了编译结果的路径,则不会再输出到out文件夹中了。
你在Project Structure中的Project选项卡中可以设置Project compiler output的目录。 
Modules中选择某一个模块后,在右侧的Paths选项卡中可以设置该模块的Compiler output目录。

猜你喜欢

转载自blog.csdn.net/qq_26591517/article/details/80731088