ar包自动上传Linux并且自动重启tomcat
用的是jdk1.7出的文件监控
支持ftp和sftp,支持多服务器负载等
配置好config 非maven项目导入直接使用
#u76D1u542Cu76EEu5F55
localPath=C:\Personal\Desktop\war
sms_send.host=192.168.4.175
sms_send.port=22
sms_send.username=root
sms_send.password=psw
sms_send.tomcat.webapps=/usr/local/tomcat/webapps/
sms_send.cmdS=cd /usr/local/tomcat/bin/;sh shutdown.sh ;
sms_send.cmdE=cd /usr/local/tomcat/bin/;sh startup.sh ;
sms_send.cmdR=cd /usr/local/tomcat/webapps;rm -rf %1$s;
有bug欢迎提出O(∩_∩)O哈!