ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lutz Epperlein" <>
Subject Re: <exec> task on NT/2000
Date Fri, 26 Jan 2001 16:58:44 GMT
> Using a call to "bar.bat" would
> require splitting my target into separate, platform-specific targets, or (worse
> yet) defining a ${BAR} property somewhere in a platform-specific way.

A possible way could be providing a platform-depended property file 
and load it to ant via <property> task. We go this way to provide 
the libraries for compiling and runtime. Yes, you will get the 
disadvantage of handling some platform-specifica, but that lies in 
an extra file now.

Another way may be the integration of the work that the .bat does 
into the build.xml if that is possible.

Lutz E.

Lutz Epperlein, Software Developer
OPIX AG Berlin, Germany

View raw message