You can check to see which platform you are compiling on by looking at
some default properties, and then run the proper exec task based on
that with ac:if (ant contrib:if)


On 11/28/08, Kate McCole <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm new to ant and I have to write an ant build.
> I saw some tasks requires os and are very specific such as <exec>.
> Does it mean I have to write one script for each plateform??
> --
> View this message in context:
> http://www.nabble.com/differenet-ant-script-for-different-plateform--tp20737822p20737822.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
Sent from my mobile device

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to