ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunt, Bryan" <>
Subject executing a batch file
Date Fri, 11 Jan 2002 14:00:36 GMT

I am writing an ant script that has to start up 
tomcat on either windoze or linux. On windows 
the command would be

C:\\jakarta-tomcat-4.0.1\\bin\\tomcat start

and on linux the command would be 

/etc/rc.d/initd/tomcat start 

I have been trying the exec method but it doesn't seem to be working. Is the
exec method the best to use for such an endevour ?



perl -e 'print


eMuse Technologies
Unit 24, Trinity Enterprise Centre,
Pearse Street, Dublin 2, Ireland

Tel:  353-1-671-7317
Fax:  353-1-671-7319


This message has been scanned for viruses using GroupShield for Exchange 4.5

CONFIDENTIALITY NOTICE - The information contained in this email message is
intended only for confidential use of the named recipient. If the reader is
not the intended recipient or the person responsible for delivering it to
the recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination or copying of this
communication is strictly prohibited. If you have received this in error,
please notify the sender immediately.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message