You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kate McCole <tt...@live.com> on 2008/11/28 18:10:29 UTC

differenet ant script for different plateform?

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: differenet ant script for different plateform?

Posted by Kate McCole <tt...@live.com>.
Thank you very much :clap:


Patrick Waugh wrote:
> 
> 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 <tt...@live.com> 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: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
> 
> -- 
> Sent from my mobile device
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/differenet-ant-script-for-different-plateform--tp20737822p20739722.html
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: differenet ant script for different plateform?

Posted by Patrick Waugh <pt...@gmail.com>.
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 <tt...@live.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Sent from my mobile device

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