开发者

To run ant commands through batch file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜