67,513
社区成员
发帖
与我相关
我的任务
分享
<exec dir="${jboss.home}/bin" executable="run.sh" spawn="true">
<arg value="-c default"/>
</exec>
<project
name="test System"
basedir="."
default="test"
>
<target name="test">
<exec executable="cmd">
<arg value="/c"/>
<arg value="test.bat"/>
<arg value="-p"/>
</exec>
</target>
</project>
<?xml version="1.0"?>
<project name="batch" default="shell" basedir=".">
<property name="tomcat.dir" value="C:\Tomcat5"></property>
<target name="shell">
<exec dir="${tomcat.dir}/bin" executable="bash">
<env key="CATALINA_HOME" path="${tomcat.dir}" />
<arg value="startup.sh" />
</exec>
</target>
</project>
<?xml version="1.0"?><project name="batch" default="shell" basedir="."> <property name="tomcat.dir" value="C:\Tomcat5"></property> <target name="shell"> <exec dir="${tomcat.dir}/bin" executable="bash"> <env key="CATALINA_HOME" path="${tomcat.dir}"/> <arg value="startup.sh"/> </exec> </target></project>