有时候就在想,我们自己本地启动的web项目,将对应的web包放哪里了呢
然后用一个比价好用的命令进行查看了下
find ~ -name "tomcat"
然后发现了这个东西
/Users/zhouzhenyong/Library/Caches/IntelliJIdea2016.3/tomcat
然后查看这个tomcat下面的文件
drwxr-xr-x 5 zhouzhenyong staff 170B 3 15 2017 Unnamed_(1)_decisionSystem_3
drwxr-xr-x 5 zhouzhenyong staff 170B 4 19 14:06 Unnamed_decision-system
drwxr-xr-x 5 zhouzhenyong staff 170B 4 19 14:07 Unnamed_decision-system_2
drwxr-xr-x 5 zhouzhenyong staff 170B 3 14 2017 Unnamed_decisionSystem
drwxr-xr-x 5 zhouzhenyong staff 170B 3 15 2017 Unnamed_decisionSystem_2
drwxr-xr-x 5 zhouzhenyong staff 170B 3 15 2017 Unnamed_decisionSystem_3
drwxr-xr-x 5 zhouzhenyong staff 170B 6 20 18:24 Unnamed_decisionSystem_4
drwxr-xr-x 5 zhouzhenyong staff 170B 6 20 18:23 Unnamed_decisionSystem_5
drwxr-xr-x 5 zhouzhenyong staff 170B 5 22 19:00 Unnamed_decisionSystem_6
drwxr-xr-x 5 zhouzhenyong staff 170B 4 1 2017 Unnamed_finance-platform
drwxr-xr-x 5 zhouzhenyong staff 170B 4 1 2017 Unnamed_finance-platform_2
drwxr-xr-x 5 zhouzhenyong staff 170B 1 14 2017 Unnamed_knox
drwxr-xr-x 5 zhouzhenyong staff 170B 1 14 2017 Unnamed_knox-rule
drwxr-xr-x 5 zhouzhenyong staff 170B 6 10 14:41 Unnamed_knox-rule_10
drwxr-xr-x 5 zhouzhenyong staff 170B 7 10 16:59 Unnamed_knox-rule_11
drwxr-xr-x 5 zhouzhenyong staff 170B 7 18 10:22 Unnamed_knox-rule_12
drwxr-xr-x 5 zhouzhenyong staff 170B 9 28 11:43 Unnamed_knox-rule_13
drwxr-xr-x 5 zhouzhenyong staff 170B 9 28 16:06 Unnamed_knox-rule_14
drwxr-xr-x 5 zhouzhenyong staff 170B 7 20 16:38 Unnamed_knox-rule_15
drwxr-xr-x 5 zhouzhenyong staff 170B 7 26 17:30 Unnamed_knox-rule_16
drwxr-xr-x 5 zhouzhenyong staff 170B 7 26 17:30 Unnamed_knox-rule_17
drwxr-xr-x 5 zhouzhenyong staff 170B 2 23 2017 Unnamed_knox-rule_2
drwxr-xr-x 4 zhouzhenyong staff 136B 6 2 18:42 Unnamed_knox-rule_3
drwxr-xr-x 5 zhouzhenyong staff 170B 6 6 18:29 Unnamed_knox-rule_4
drwxr-xr-x 5 zhouzhenyong staff 170B 6 8 10:20 Unnamed_knox-rule_5
drwxr-xr-x 5 zhouzhenyong staff 170B 6 7 17:12 Unnamed_knox-rule_6
上面这些都是我们每次启动的时候,Idea就会将对应的项目放到上面
至此有点明白了,idea的里面通过tomcat启动的目录是怎么启动的了