You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/09/09 17:23:35 UTC
cvs commit: cocoon-lenya/src/webapp/lenya scheduler.xmap
andreas 2003/09/09 08:23:35
Modified: src/webapp/lenya scheduler.xmap
Log:
formatting
Revision Changes Path
1.4 +20 -24 cocoon-lenya/src/webapp/lenya/scheduler.xmap
Index: scheduler.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/scheduler.xmap,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- scheduler.xmap 9 Sep 2003 11:34:40 -0000 1.3
+++ scheduler.xmap 9 Sep 2003 15:23:35 -0000 1.4
@@ -2,21 +2,19 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Components ================================ -->
+
<map:components>
-
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:readers default="resource"/>
<map:serializers default="xhtml"/>
<map:matchers default="wildcard"/>
<map:actions/>
-
<map:selectors/>
-
</map:components>
<!-- =========================== Views ================================= -->
-
+
<map:views>
<map:view from-label="aggregation" name="aggregation">
<map:serialize type="xml"/>
@@ -31,9 +29,8 @@
<map:resources/>
<!-- =========================== Pipelines ================================ -->
- <!-- FIXME: Reorder the pipelines in here neatly. Maybe alphabetically? -->
+
<map:pipelines>
-
<map:pipeline>
<!-- load task list -->
@@ -51,7 +48,8 @@
<!-- publication/{publication-id} -->
<map:match pattern="publication/*">
- <map:aggregate element="scheduler" label="aggregation" ns="http://apache.org/cocoon/lenya/scheduler/1.0" prefix="sch">
+ <map:aggregate element="scheduler" label="aggregation"
+ ns="http://apache.org/cocoon/lenya/scheduler/1.0" prefix="sch">
<map:part src="cocoon:/tasks/{1}"/>
<map:part src="cocoon:/servlet" strip-root="true"/>
<map:part src="cocoon:/xsp" strip-root="true"/>
@@ -64,28 +62,26 @@
<!-- document/{publication-id}/{area-document-url} -->
<map:match pattern="document/*/**">
- <map:generate src="cocoon:/publication/{1}"/>
+ <map:generate src="cocoon:/publication/{1}"/>
<map:transform src="xslt/scheduler/filter-document.xsl">
<map:parameter name="document-url" value="/{1}/{2}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
-
- <!-- {publication-id}/{area-document-url}.xsl -->
- <map:match pattern="*/**.xsl">
- <map:generate src="cocoon:/document/{1}/{2}"/>
- <map:transform src="xslt/scheduler/jobs2xslt.xsl"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <!-- xsp -->
- <map:match pattern="xsp">
- <map:generate type="serverpages" src="content/scheduler/scheduler.xsp"/>
- <map:serialize type="xml"/>
- </map:match>
-
+
+ <!-- {publication-id}/{area-document-url}.xsl -->
+ <map:match pattern="*/**.xsl">
+ <map:generate src="cocoon:/document/{1}/{2}"/>
+ <map:transform src="xslt/scheduler/jobs2xslt.xsl"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ <!-- xsp -->
+ <map:match pattern="xsp">
+ <map:generate src="content/scheduler/scheduler.xsp" type="serverpages"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
</map:pipeline>
-
</map:pipelines>
-
</map:sitemap>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org