You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by warhero <be...@gmail.com> on 2007/07/25 22:57:12 UTC

fnd host operating system in build file.

is there any ant tasks to find the host operating system it's running on in a
build file? like win / mac / linux / etc.
-- 
View this message in context: http://www.nabble.com/fnd-host-operating-system-in-build-file.-tf4147900.html#a11799826
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: fnd host operating system in build file.

Posted by Matt Benson <gu...@yahoo.com>.
--- warhero <be...@gmail.com> wrote:

> 
> is there any ant tasks to find the host operating
> system it's running on in a
> build file? like win / mac / linux / etc.

Check out the <os> condition (under <condition> task,
supported conditions) as well as ant-contrib's
<osfamily> task.

HTH,
Matt

> -- 
> View this message in context:
>
http://www.nabble.com/fnd-host-operating-system-in-build-file.-tf4147900.html#a11799826
> Sent from the Ant - Users mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org