ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: Operating System identification
Date Tue, 25 Jul 2006 22:04:37 GMT

There is a property called htmlManagerServlet.serverOSName
here is an example on how to obtain the value

command line 
see if you can spawn/exec("uname")

Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Raghuveer" <>
To: <>
Sent: Saturday, July 08, 2006 4:26 AM
Subject: Operating System identification

> How to identify Operating System of my Application server.
> I have property file in my web application for Windows and Linus.
> I need to identify th Operating System and read specific configuration file
> in my Struts Application .?
> Example:
> My Web application can be run on OC4J server,JBOSS  on Windows or Linux
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message