forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r263867 - in /forrest/trunk/main: targets/seed.xml template-sites/benchmark/ template-sites/benchmark/src/documentation/content/xdocs/index.xml
Date Sun, 28 Aug 2005 12:27:18 GMT
Author: crossley
Date: Sun Aug 28 05:27:13 2005
New Revision: 263867

URL: http://svn.apache.org/viewcvs?rev=263867&view=rev
Log:
Added a seed-benchmark site.

Added:
    forrest/trunk/main/template-sites/benchmark/
      - copied from r240170, forrest/trunk/main/template-sites/basic/
Modified:
    forrest/trunk/main/targets/seed.xml
    forrest/trunk/main/template-sites/benchmark/src/documentation/content/xdocs/index.xml

Modified: forrest/trunk/main/targets/seed.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/targets/seed.xml?rev=263867&r1=263866&r2=263867&view=diff
==============================================================================
--- forrest/trunk/main/targets/seed.xml (original)
+++ forrest/trunk/main/targets/seed.xml Sun Aug 28 05:27:13 2005
@@ -58,7 +58,18 @@
     </loadfile>
     <echo>${template-project-created-message}</echo>
   </target>
-  
+
+  <target name="seed-benchmark" depends="ensure-nocontent"
+    description="* Seeds a site to use for benchmarking measurements">
+     <copy todir="${project.home}" overwrite="false">
+      <fileset dir="${forrest.core}/template-sites/benchmark"/>
+     </copy>
+     <loadfile property="template-project-created-message" srcFile="${forrest.core}/var/template-project-created-message-basic.txt">
+      <filterchain><expandproperties/></filterchain>
+    </loadfile>
+    <echo>${template-project-created-message}</echo>
+  </target>
+
   <target name="seedTestBusiness"  depends="ensure-nocontent"
     description="A test business site">
     

Modified: forrest/trunk/main/template-sites/benchmark/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/benchmark/src/documentation/content/xdocs/index.xml?rev=263867&r1=240170&r2=263867&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/benchmark/src/documentation/content/xdocs/index.xml
(original)
+++ forrest/trunk/main/template-sites/benchmark/src/documentation/content/xdocs/index.xml
Sun Aug 28 05:27:13 2005
@@ -18,16 +18,16 @@
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document> 
   <header> 
-    <title>Welcome to MyProj</title> 
+    <title>Welcome to the Apache Forrest benchmark site</title> 
   </header> 
   <body> 
     <section id="overview">
-      <title>Congratulations</title>
-      <p>You have successfully generated and rendered an <a
-          href="ext:forrest">Apache Forrest</a> site.
-        This page is from the blank site template. It is found in
-        <code>src/documentation/content/xdocs/index.xml</code>
-        Please edit it and replace this text with content of your own.</p>
+      <title>Overview</title>
+      <p>
+        This is the benchmark site. It is a set of documents that will
+        exercise Forrest and enable benchmarks to be run using various
+        versions of the software.
+      </p>
     </section>
   </body>
 </document>



Mime
View raw message