Author: crossley
Date: Fri Sep 8 18:40:03 2006
New Revision: 441723
URL: http://svn.apache.org/viewvc?view=rev&rev=441723
Log:
Explain the "checksums" feature of Cocoon CLI and its use with forrestbot.
Modified:
forrest/trunk/site-author/content/xdocs/docs_0_80/faq.xml
forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml
Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/faq.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_80/faq.xml?view=diff&rev=441723&r1=441722&r2=441723
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/faq.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/faq.xml Fri Sep 8
18:40:03 2006
@@ -863,9 +863,8 @@
to a big savings for a site with thousands of files.
</p>
<p>
- Another reason could be if you are not using the forrestbot to
- deploy the generated site. Some tools depend on the
"date-last-modified"
- timestamp of the generated files.
+ Some tools depend on the "date-last-modified" timestamp of the
generated files.
+ For example, the Forrestbot will then deploy only the modified files.
</p>
<p>
There was some discussion about this on the Forrest developer mailing
Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml?view=diff&rev=441723&r1=441722&r2=441723
==============================================================================
--- forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml (original)
+++ forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml Fri Sep 8
18:40:03 2006
@@ -187,6 +187,20 @@
do an actual 'deploy', so you might want to choose 'build' as your
default target.</p>
+ <section id="checksums">
+ <title>Deploying only modified files</title>
+ <p>Use the <link href="site:faq/checksums">checkums</link> feature
of the Cocoon CLI.
+ This enables Forrest to keep track of which generated files have
actually
+ been changed. The Ant tasks used by Forrestbot will then deploy
only the
+ modified files. Ant keeps a <code>cache.properties</code> file.
+ If you need to deploy all files then remove this file and let it
+ be re-generated.
+ </p>
+ <p>Note that the deplo.svn and deploy.cvs workstages handle modified
files
+ with their own mechanism.
+ </p>
+ </section>
+
<section>
<title>Correct Use of getsrc.local</title>