ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunt, Bryan" <B.H...@emuse.ie>
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 ?

--B




 






perl -e 'print
pack("c*",0x62,0x72,0x79,0x61,0x0,0x6E,0x68,0x75,0x6E,0x74)."\n";'

___________________________________________

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

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

website: www.emuse.ie 
email: info@emuse.ie 
___________________________________________

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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message