You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/08/15 07:29:17 UTC

svn commit: rev 36404 - in forrest/trunk/src/core: . context

Author: crossley
Date: Sat Aug 14 22:29:15 2004
New Revision: 36404

Modified:
   forrest/trunk/src/core/context/sitemap.xmap
   forrest/trunk/src/core/forrest.build.xml
Log:
Add the crucial missing commit that broke the build. Sorry.
Was intended for r 36397
Add meta information to head for generator, skin name, generation date.


Modified: forrest/trunk/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/src/core/context/sitemap.xmap	(original)
+++ forrest/trunk/src/core/context/sitemap.xmap	Sat Aug 14 22:29:15 2004
@@ -450,7 +450,7 @@
       <map:match pattern="*.html">
         <map:aggregate element="site">
           <map:part src="cocoon:/skinconf.xml"/>
-          <!--<map:part src="cocoon:/info"/> nicolaken: comment out to unbreak HEAD-->
+          <map:part src="cocoon:/info"/>
           <map:part src="cocoon:/tab-{0}"/>
           <map:part src="cocoon:/menu-{0}"/>
           <map:part src="cocoon:/body-{0}"/>
@@ -464,7 +464,7 @@
       <map:match pattern="**/*.html">
         <map:aggregate element="site">
           <map:part src="cocoon:/skinconf.xml"/>
-          <!--<map:part src="cocoon:/info"/> nicolaken: comment out to unbreak HEAD-->
+          <map:part src="cocoon:/info"/>
           <map:part src="cocoon:/{1}/tab-{2}.html"/>
           <map:part src="cocoon:/{1}/menu-{2}.html"/>
           <map:part src="cocoon:/{1}/body-{2}.html"/>

Modified: forrest/trunk/src/core/forrest.build.xml
==============================================================================
--- forrest/trunk/src/core/forrest.build.xml	(original)
+++ forrest/trunk/src/core/forrest.build.xml	Sat Aug 14 22:29:15 2004
@@ -196,6 +196,18 @@
 
     <!-- echo settings in -Dforrest.echo=true mode -->
     <antcall target="echo-settings" />
+
+    <!-- Gather some information about this Forrest instance,
+      to be used later by Cocoon. -->
+    <tstamp prefix="generate">
+      <format property="timestamp" timezone="en" pattern="yyyy-MM-dd'T'HH:mm'Z'"/>
+    </tstamp>
+    <echo file="${forrest.home}/context/WEB-INF/info.xml">&lt;info>
+  &lt;project-skin>${project.skin}&lt;/project-skin>
+  &lt;forrest-version>${version}&lt;/forrest-version>
+  &lt;generate-timestamp>${generate.timestamp}&lt;/generate-timestamp>
+&lt;/info>
+    </echo>
   </target>
   
   <target name="examine-proj" depends="init-props">