On Tue, 16 Nov 2004 10:03:07 -0600, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > From: Steve Loughran [mailto:[EMAIL PROTECTED]
> > <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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to