forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Checksum tests
Date Tue, 07 Oct 2003 10:44:41 GMT
> Dear Forresters,
> 
> I've added some code to CVS Cocoon which stores checksums of 
> pages as it 
> generates them. It can then check to see if the checksum of a 
> generated 
> page has changed since it was last generated.
> 
> This does not improve the performance of the CLI itself, but it does 
> mean that files are only written if they've changed since 
> they were last 
> generated.

I have implemented that as a selector in Ant.
http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/CoreTypes/selec
tors.html?rev=1.16&content-type=text/plain#modified

It´s part of Ant 1.6.


Jan




> 
> You can access this by adding:
>     <checksums-uri>path to your checksum file</checksums-uri>
> 
> to your cli.xconf.
> 
> The checksum file can be stored on a server, e.g. using an ftp:// URI 
> (any URI for which a modifiable source exists).
> 
> This is not intended as 'stable interface' code. I want to think more 
> about how this kind of functionality might be improved, e.g. 
> caching of 
> timestamps and links before I want to think about a 'permanent' 
> interface to it.
> 
> Regards,
> 
> Upayavira
> 
> 

Mime
View raw message