idea8下配置ssh
1. 指定编译class目录.
Module -> settings -> modules -> 工程名称 -> paths ->
User module comile output path ->
Output path 和 test output Path 设置为 ..\ webapp\WEB-INF\classes
2. 设置Webapp的目录相关配置
Module -> settings -> modules -> 工程名称 -> web -> Java EE build Settings ->
Web Facet Exploded Directory
在[create web facet exploded directory]打钩
在下边文本域中输入webapp的目录
在[exclude from module content]去掉钩
千万要注意 不是你就后悔
3.设置启动参数,或者共享多个工程配置
在Run/Debug Configurations 中添加一个tomcat server.
在server选项中
[Build on frame deactivation ] 编译工程.在debug模式下可以热加载class
4.在Deployment 选项中指定发布的工程和工程虚拟目录
5.[Share configuration] 共享多个工程在一个启动的tomcat中