Ant执行bat启动tomcat
<property name="tomcat.home" value="E:/tomcat6018" /><target name="exec"> <exec dir="${tomcat.home}" executable="cmd.exe" > <arg line="/c ${tomcat.home}/bin/startup.bat" /> <arg line="/c exit" /> </exec> </target>