cziegeler 01/07/12 08:31:26
Modified: . Tag: cocoon_20_branch build.xml
Log:
Fixed sitemap entry for php and added additional one for xt
Revision Changes Path
No revision
No revision
1.8.2.13 +14 -2 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.8.2.12
retrieving revision 1.8.2.13
diff -u -r1.8.2.12 -r1.8.2.13
--- build.xml 2001/07/10 15:56:00 1.8.2.12
+++ build.xml 2001/07/12 15:31:22 1.8.2.13
@@ -401,7 +401,7 @@
<!-- =================================================================== -->
<target name="prepare-webapp-php" depends="copy-webapp" if="php.present">
<java classname="st">
- <arg line="-i ${build.war}/sitemap.xmap -o ${build.war}/sitemap.xmap2 -a
generators php org.apache.cocoon.generation.PhpGenerator"/>
+ <arg line="-i ${build.war}/sitemap.xmap -o ${build.war}/sitemap.xmap -a
generators php org.apache.cocoon.generation.PhpGenerator"/>
<classpath>
<pathelement location="${bin.dir}"/>
</classpath>
@@ -409,9 +409,21 @@
</target>
<!-- =================================================================== -->
+ <!-- Prapares the webapp sitemap if xt is available -->
+ <!-- =================================================================== -->
+ <target name="prepare-webapp-xt" depends="copy-webapp" if="xt.present">
+ <java classname="st">
+ <arg line="-i ${build.war}/sitemap.xmap -o ${build.war}/sitemap.xmap -a
transformers xt org.apache.cocoon.transformation.XTTransformer"/>
+ <classpath>
+ <pathelement location="${bin.dir}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <!-- =================================================================== -->
<!-- Prepares the webapp directories -->
<!-- =================================================================== -->
- <target name="prepare-webapp" depends="copy-webapp, prepare-webapp-php">
+ <target name="prepare-webapp" depends="copy-webapp, prepare-webapp-php,
prepare-webapp-xt">
<!-- Simply do nothing, just invoke all dependencies -->
</target>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]