开发者

To run ant commands through batch file

开发者 https://www.devze.com 2023-02-24 19:33 出处:网络
Please tell me how to call a command \"ant deploy-hibernate\" through batch file located in c: and i want to run the above command on trun开发者_开发知识库k folder located in d: drive.The pupose is i

Please tell me how to call a command "ant deploy-hibernate" through batch file located in c: and i want to run the above command on trun开发者_开发知识库k folder located in d: drive.The pupose is i want to run this command every time before i call a start-up for tomcat.Thanks in advance


cd /d d:\trunk
call c:\path\to\ant\bin\ant.bat deploy-hibernate


You should add Ant\bin to your PATH environment variable.

0

精彩评论

暂无评论...
验证码 换一张
取 消