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.
精彩评论