Try executable="startup.bat"
> -----Original Message-----
> From: Guan, Kelly [mailto:C_Kelly.Guan@wingcast.com]
> Sent: Tuesday, 9 October 2001 9:10 AM
> To: ant-user@jakarta.apache.org
> Subject: start tomcat in ant
>
>
> sorry if anyone get this email twice.
>
> I am trying to start tomcat in ant, and I am using :
> <exec dir="c:/tomcat/bin" executable="startup" os="Windows 2000"
> failonerror="true" />
>
> I get IOException thrown by JVM.
>
> Anyone can give me some idea how to get over this problem?
>
> Really appreciated.
>
> Thanks
>
|