forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: rev 55000 - in forrest/branches/sitemap-plugins: . src/core/var
Date Mon, 18 Oct 2004 12:40:03 GMT
Author: rgardler
Date: Mon Oct 18 05:40:03 2004
New Revision: 55000

Added:
   forrest/branches/sitemap-plugins/src/core/var/initial_plugins_sitemap.xmap   (contents,
props changed)
Modified:
   forrest/branches/sitemap-plugins/build.xml
Log:
create plugins directory and initial sitemap when forrest is built

Modified: forrest/branches/sitemap-plugins/build.xml
==============================================================================
--- forrest/branches/sitemap-plugins/build.xml	(original)
+++ forrest/branches/sitemap-plugins/build.xml	Mon Oct 18 05:40:03 2004
@@ -38,6 +38,7 @@
       value="${xgump.module.project.version.major}.${xgump.module.project.version.minor}${xgump.module.project.version.tag}"/>
 
     <property name="java.dir"              location="src/java"/>
+    <property name="plugins.dir"           location="plugins"/>
     <property name="build.dir"             location="build"/>
     <property name="build.docs"            location="${build.dir}/docs"/>
     <property name="build.classes"         location="${build.dir}/classes"/>
@@ -71,7 +72,11 @@
     </echo>
     
     <mkdir dir="${build.dir}"/>
-        
+    
+    <mkdir dir="${plugins.dir}"/>
+    <copy file="src/core/var/initial_plugins_sitemap.xmap"
+      tofile="${plugins.dir}/sitemap.xmap"/>
+    
     <path id="classpath">
       <fileset dir="lib" includes="**/*.jar"/>
       <fileset dir="${tools.dir}/jetty" includes="servlet*.jar"/>
@@ -82,6 +87,7 @@
 
   <target name="clean" depends="init" description="Delete all generated files">
     <delete dir="${build.dir}"/>
+    <delete dir="${plugins.dir}"/>
     <delete dir="${forrestbot.dir}/logs"/>
     <delete dir="${forrestbot.dir}/work"/>
     <delete dir="${forrestbot.dir}/build"/>

Added: forrest/branches/sitemap-plugins/src/core/var/initial_plugins_sitemap.xmap
==============================================================================
--- (empty file)
+++ forrest/branches/sitemap-plugins/src/core/var/initial_plugins_sitemap.xmap	Mon Oct 18
05:40:03 2004
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+  <!-- ============================================================ -->
+  <!-- Plugin Sitemap                                               -->
+  <!--                                                              -->
+  <!-- This sitemap includes all enabled plugins in the generation  -->
+  <!-- process. It is mounted from the main Forrest sitemap after   -->
+  <!-- any project specific sitemap but before the default Forrest  -->
+  <!-- matchers. This enables plugins to override or extend default -->
+  <!-- Forrest behaviour whilst individual projects can override    -->
+  <!-- or extend the plugins behaviour.                             -->
+  <!-- ============================================================ -->
+  
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline internal-only="false">
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Mime
View raw message