ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: repository
Date Tue, 16 Nov 2004 16:31:56 GMT
On Tue, 16 Nov 2004 10:03:07 -0600, Dominique Devienne 
<ddevienne@lgc.com> wrote:
 > > From: Steve Loughran [mailto:stevel@apache.org]
 > > <force> marks everything for fetch then verifies they were pulled down
 > > <absentOnly /> (default policy) only marks absent stuff for downloaded
 > > <timestamp /> marks everything for timestamp-based-fetch
 >
 > The problem with such an approach is that you have no way to change
 > <timestamp> to <force> on the command line using a property. Whereas
 > 'good old' an EnumeratedAttribute would allow you to. Some things you
 > never change in your builds, some others you want to be easily changed
 > from the command line or a properties file, and this is one of them
 > IMHO. --DD

Which is precisely why every policy has an if attribute that is boolean

<force if="${force.update}"/>
<schedule hours="3" />

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


Mime
View raw message