ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reno <reno.rkc...@free.fr>
Subject Re: Way to not hard-code these values?
Date Sat, 16 Oct 2010 22:01:12 GMT
http://lmgtfy.com/?q=ant+properties+file+load
> Hi,
>
> I'm using Ant 1.7.  I'm trying to de-hardcode a few things from my script,
> and would prefer to have them properties-file driven.  However, I'm not sure
> how to go about it.    I have
>
>         <SeleniumHTMLClient results="${results}" appendResults="true"
> verbose="false" showPassedTests="false" excludeHeaderAndFooter=
> "true" multithread="true">
>
>                 <Host value="IP-address1" port="1234" />
>                 <Host value="44.33.2.99" port="5678" />
>
> I would like to move the hosts and ports into a properties file and then
> load them into this task dynamically.  Any ideas how to do this?
>
> Thanks, - Dave
>   



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


Mime
View raw message