"else" for 'exec' Ant task ?
1 posts in topic
Flat View  Flat View

Posted By:   Rami_Abramson
Posted On:   Monday, February 9, 2004 02:58 AM

Hello all,

The Ant-task 'exec' has an attribute 'os' to specify on which OSs to run the task.
1> How do you run a certain exec for Unix, and a different one for ALL the different Windows platforms without specifying them explicitly.
2> Is it possible to use wildcards in the 'exec' task?

Would appreciate your help.

thank you,


Re: "else" for 'exec' Ant task ?

Posted By:   Anonymous  
Posted On:   Tuesday, February 10, 2004 04:06 AM

Wrap the two s inside two s and use their if/unless attribute. As an alternative you can use the AntContrib library.
About | Sitemap | Contact