ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Platform detection
Date Fri, 11 Aug 2000 07:01:32 GMT
>>>>> "DO" == Doremieux, Olivier <Olivier.Doremieux@fc.celera.com> writes:

 DO> This might do the trick but not in All cases. 

I know, this is why I said we might need to add an option to
available. Something like

<available name="windows" os="windows" />

and quite incomplete

<available name="unix" os="linux,solaris,sunos,hpux,aix" />

the os attribute would work the same as the os attribute of <exec>. A
comma separated list of strings. If os.name contains any of the
supplied strings (lowercasing everything) the property is set.

Stefan

Mime
View raw message