ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject SUGGESTION
Date Fri, 12 Oct 2001 16:09:58 GMT
The <os family="..."> subelement of the <condition> task
is very nice.  However, is there any way to set a variable
to the os family?  (ie., is there maybe a ${os.family}
pre-defined property)?

In a lot of cases, you don't care what actual os you're
on, but just what type of os, and you may want to keep
this in a variable somewhere.

the os family would also be useful in the exec command
instead of having to have an exec for every different type
of windows or unix operating system.

<exec ... osfamily="windows" executable="test.bat" />
<exec ... osfamily="unix"    executable="test.sh" />


-- 
Matt Inger (matt.inger@sedonacorp.com)
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 


Mime
View raw message