ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Platform specific extensions
Date Fri, 26 Apr 2002 00:09:10 GMT
I assume you mean for things like <copy> and <zip> and such.  Look into tags
such as <condition> to set a property for a particular O/S type, and using
if/unless on <patternset> to conditionally include/exclude files based on
existence of properties.

    Erik


----- Original Message -----
From: "Arun Gupta" <arun.gupta@sun.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, April 25, 2002 7:23 PM
Subject: Platform specific extensions


> Hi,
>
> I have .sh and .bat files for a multi-platform product. How can I tell
> build.xml to pick up correct extension file on a particular platform ?
>
> Regards,
> -Arun
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message