forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: intelligent file update
Date Mon, 02 Aug 2004 08:24:10 GMT
Had written that just for use with Forrest :-)
http://ant.apache.org/manual/CoreTypes/selectors.html#modified

See the last example.


Jan


> -----Urspr√ľngliche Nachricht-----
> Von: Dave Brondsema [mailto:dave@brondsema.net]
> Gesendet am: Montag, 26. Juli 2004 13:34
> An: dev@forrest.apache.org
> Betreff: Re: intelligent file update
> 
> Diwaker Gupta wrote:
> > Most of the time when I regenerate a site, only a few source files
> > have changed. However, forrest does not discriminate between updated
> > and non-updated files (I mean, just looking at the last modified
> > timestamp or maybe checksum type of thing). Consequently, 
> at the time
> > of deploying using forrestbot, all files get updated and deployed.
> > This is fine for local deployment, however over scp this becomes a
> > pain, especially since I have some packaged jar/tar files which are
> > *never* going to change.
> > 
> > Can some kind of intelligent file updation be built into 
> forrest? Just
> > based on last modified timestamp perhaps?
> 
> http://wiki.apache.org/ant/NewAntFeaturesInDetail/Ssh 
> describes a way to 
> speed up scp by caching.  I haven't tried it yet though.
> 
> -- 
> Dave Brondsema : dave@brondsema.net
> http://www.splike.com : programming
> http://csx.calvin.edu : student org
> http://www.brondsema.net : personal
> 

Mime
View raw message