You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/11/15 23:09:19 UTC

svn commit: rev 71515 - lenya/trunk/src/targets

Author: gregor
Date: Mon Nov 15 14:09:18 2004
New Revision: 71515

Modified:
   lenya/trunk/src/targets/init-build.xml
Log:
don't destroy the original cocoon sitemap.xmap

this allows to run cocoon and lenya side by side with the same build

Modified: lenya/trunk/src/targets/init-build.xml
==============================================================================
--- lenya/trunk/src/targets/init-build.xml	(original)
+++ lenya/trunk/src/targets/init-build.xml	Mon Nov 15 14:09:18 2004
@@ -81,17 +81,15 @@
   <!-- Prepares the build webapp directory                          -->
   <!-- ============================================================ -->
   <target name="build-cocoon" depends="init">
-    <taskdef name="xpatch" classname="XConfToolTask" classpath="${tools.tasks.dest}"/>
     <echo>Building Cocoon with our properties</echo>
     <copy todir="${cocoon.src.dir}" filtering="off">
       <fileset dir="${src.cocoon.properties.dir}"/>
     </copy>
     <ant dir="${cocoon.src.dir}" inheritall="false"/>
-    <xpatch file="${cocoon.webapp.dir}/sitemap.xmap" 
-            includes="src/confpatch/*.xmap"/> 
   </target>
 
   <target name="prepare-cocoon" depends="build-cocoon">
+    <taskdef name="xpatch" classname="XConfToolTask" classpath="${tools.tasks.dest}"/>
     <echo>INFO: exclude: WEB-INF/cocoon.xconf</echo> 
     <echo>INFO: exclude: WEB-INF/logkit.xconf</echo> 
     <echo>INFO: exclude: WEB-INF/web.xml</echo>
@@ -110,6 +108,9 @@
         <exclude name="**/javac.jar"/>
       </fileset>
     </copy>
+
+    <xpatch file="${build.webapp}/sitemap.xmap" 
+            includes="src/confpatch/*.xmap"/> 
 
     <!-- patch cocoon.xconf -->
     <echo>INFO: patching cocoon.xconf with XSLT stylesheet</echo>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org