ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Pilcher <i.pilc...@comcast.net>
Subject Re: Can these targets be combined?
Date Tue, 21 Feb 2006 23:35:51 GMT
Anderson, Rob (Global Trade) wrote:
> You do not need to use the <available> task within a target (as long as
> you are using Ant 1.6 or greater) . You could rewrite this as...
> 
>   <available file="project/${env.PROJECT_NAME}/bootstrap.xml"
>                property="bootstrap"/>
> 
>   <target name="bootstrap" if="bootstrap">
>     <ant antfile="project/${env.PROJECT_NAME}/bootstrap.xml"/>
>   </target>
> 

Thanks!

-- 
========================================================================
Ian Pilcher                                        i.pilcher@comcast.net
========================================================================


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


Mime
View raw message