求助:Ant舆h程Appserver

06-04-10 blood
想在本C上绦ant舆h程C器上的tomcat,除了用ant的telnet,有其它k法幔苛硗猓以诒C上_telnet,在命令行绦telnet 127.0.0.1等等接可用。以下ant_本绦校
<target name="test-telnet" >
<property name="server" value="127.0.0.1"/>
<property name="prompt" value="C:\>"/>
<property name="command" value="dir"/>
<telnet server="${server}"
userid="username"
password="password"
timeout="5">
<read string="${prompt}"/>
<write string="${command}"/>
<read string="${prompt}"/>
</telnet>
<sleep seconds="1"/>
</target>
是提示:
BUILD FAILED
E:\workspace\test\build.xml:180: Response timed-out waiting for "C:\>"
@是槭颤N?