sylvain 02/03/05 05:33:46
Modified: . build.xml
src/webapp sitemap.xmap
Added: src/java/org/apache/cocoon/generation xindice.pipeline
xindice.sitemap xmldb.pipeline
src/java/org/apache/cocoon/samples/parentcm naming.pipeline
naming.sitemap
Removed: src/java/org/apache/cocoon/generation naming.sitemap
xmldb.sitemap
Log:
Update the build system so that interpreted sitemap engine works without tweaking
sitemap.xmap
Revision Changes Path
1.176 +10 -2 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- build.xml 4 Mar 2002 17:41:17 -0000 1.175
+++ build.xml 5 Mar 2002 13:33:46 -0000 1.176
@@ -327,6 +327,10 @@
classname="org.xmldb.api.DatabaseManager"/>
<class-available classpathref="classpath"
+ property="xindice.present"
+ classname="org.apache.xindice.client.xmldb.DatabaseImpl"/>
+
+ <class-available classpathref="classpath"
property="jfor.present"
classname="org.jfor.jfor.converter.Converter"/>
@@ -722,14 +726,18 @@
<exclude name="**/Sendmail*.java" unless="mail.present"/>
<exclude name="**/LDAPTransformer*.java" unless="naming.present"/>
- <exclude name="**/samples/parentcm/*.java" unless="naming.present"/>
+ <exclude name="**/samples/parentcm/*" unless="naming.present"/>
<exclude name="**/naming.sitemap" unless="naming.present"/>
+ <exclude name="**/naming.pipeline" unless="naming.present"/>
<exclude name="**/JSPEngineImplWLS.java" unless="weblogic.present"/>
<exclude name="**/XMLDB*.java" unless="xmldb.present"/>
<exclude name="**/xmldb.sitemap" unless="xmldb.present"/>
- <exclude name="**/xmldb.xconf" unless="xmldb.present"/>
+ <exclude name="**/xmldb.pipeline" unless="xmldb.present"/>
+ <exclude name="**/xmldb.xconf" unless="xmldb.present"/>
+
+ <exclude name="**/xindice.*" unless="xindice.present"/>
<exclude name="**/RTFSerializer.java" unless="jfor.present"/>
<exclude name="**/jfor.sitemap" unless="jfor.present"/>
1.1
xml-cocoon2/src/java/org/apache/cocoon/generation/xindice.pipeline
Index: xindice.pipeline
===================================================================
<!-- ========================= XML:DB ================================ -->
<map:pipeline>
<!-- BEWARE: the following examples use the unmaintained XML:DB -->
<!-- generators, going to be deprecated soon. -->
<!-- You might want to use the XML:DB pseudo protocol instead. -->
<map:match pattern="xmldb-generator/db/**/">
<map:generate type="xmldbcollection" src="/{1}"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="xmldb-generator/db/**">
<map:generate type="xmldb" src="/{1}"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
1.1
xml-cocoon2/src/java/org/apache/cocoon/generation/xindice.sitemap
Index: xindice.sitemap
===================================================================
category:generators|componentName:xmldb|componentClass:org.apache.cocoon.generation.XMLDBGenerator|configuration:<driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver><base>xmldb:xindice:///db/</base>
category:generators|componentName:xmldbcollection|componentClass:org.apache.cocoon.generation.XMLDBCollectionGenerator|configuration:<driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver><base>xmldb:xindice:///db/</base>
1.1 xml-cocoon2/src/java/org/apache/cocoon/generation/xmldb.pipeline
Index: xmldb.pipeline
===================================================================
<!-- ========================= XML:DB ================================ -->
<map:pipeline>
<map:match pattern="xmldb/**">
<map:match type="request-parameter" pattern="xpath">
<map:generate src="xmldb:xindice://localhost:4080/db/{../1}#{1}"/>
<map:serialize type="xml"/>
</map:match>
<map:generate src="xmldb:xindice://localhost:4080/db/{1}"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
1.1
xml-cocoon2/src/java/org/apache/cocoon/samples/parentcm/naming.pipeline
Index: naming.pipeline
===================================================================
<!-- ========================= Parent Component Manager
================================ -->
<map:pipeline>
<map:match pattern="parentcm">
<map:generate type="parentcm" src="{1}"/>
<map:transform src="stylesheets/parentcm/time.xsl"/>
<map:serialize/>
</map:match>
</map:pipeline>
1.1
xml-cocoon2/src/java/org/apache/cocoon/samples/parentcm/naming.sitemap
Index: naming.sitemap
===================================================================
category:generators|componentName:parentcm|componentClass:org.apache.cocoon.samples.parentcm.Generator
1.35 +0 -32 xml-cocoon2/src/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- sitemap.xmap 3 Mar 2002 01:03:47 -0000 1.34
+++ sitemap.xmap 5 Mar 2002 13:33:46 -0000 1.35
@@ -1104,38 +1104,6 @@
<map:serialize type="html"/>
</map:match>
- <!-- ========================= Parent Component Manager
================================ -->
- <map:match pattern="parentcm">
- <map:generate type="parentcm" src="{1}"/>
- <map:transform src="stylesheets/parentcm/time.xsl"/>
- <map:serialize/>
- </map:match>
-
- <!-- ========================= XML:DB ================================ -->
- <map:match pattern="xmldb/**">
- <map:match type="request-parameter" pattern="xpath">
- <map:generate src="xmldb:xindice://localhost:4080/db/{../1}#{1}"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <map:generate src="xmldb:xindice://localhost:4080/db/{1}"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <!-- BEWARE: the following examples use the unmaintained XML:DB -->
- <!-- generators, going to be deprecated soon. -->
- <!-- You might want to use the XML:DB pseudo protocol instead. -->
-
- <map:match pattern="xmldb-generator/db/**/">
- <map:generate type="xmldbcollection" src="/{1}"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <map:match pattern="xmldb-generator/db/**">
- <map:generate type="xmldb" src="/{1}"/>
- <map:serialize type="xml"/>
- </map:match>
-
<!-- ========================= Server ================================ -->
<map:match pattern="legacyProfiles/**.rdf">
<map:read src="resources/legacyProfiles/{1}.rdf" mime-type="text/rdf"/>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]