cziegeler 01/07/12 08:32:10
Modified: . build.xml
Log:
Fixed sitemap entry for php and added additional one for xt
Revision Changes Path
1.23 +16 -4 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- build.xml 2001/07/10 16:00:36 1.22
+++ build.xml 2001/07/12 15:32:08 1.23
@@ -125,8 +125,8 @@
<property name="fullname" value="Apache Cocoon"/>
<property name="Name" value="Cocoon"/>
<property name="name" value="cocoon"/>
- <property name="version" value="2.1-dev"/>
- <property name="short.version" value="2.1"/>
+ <property name="version" value="2.0b1-dev"/>
+ <property name="short.version" value="2.0"/>
<property name="release" value="1st"/>
<property name="year" value="1999-2001"/>
@@ -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]