删除文件,copy文件bat

由于IntelliJ IDEA Build Artifacts速度实在是无法忍受,特整理了一个bat脚本方便maven install后更新jar文件到部署包

del /F /S /Q D:\Idea_WS\OperationCenter_WS\geostack-parent\classes\artifacts\OperationCenter_war_exploded\WEB-INF\lib\geostack-util-1.1-SNAPSHOT.jar

xcopy /E/I/Y D:\.m2\repository\geostack\geostack-util\1.1-SNAPSHOT\geostack-util-1.1-SNAPSHOT.jar D:\Idea_WS\OperationCenter_WS\geostack-parent\classes\artifacts\OperationCenter_war_exploded\WEB-INF\lib

xcopy /E/I/Y D:\Idea_WS\OperationCenter_WS\OperationCenter\resource D:\Idea_WS\OperationCenter_WS\geostack-parent\classes\artifacts\OperationCenter_war_exploded\WEB-INF\classes

@pause 

  

posted @ 2017-03-24 09:49  Nihaorz  阅读(355)  评论(0编辑  收藏  举报