[Yanel-commits] rev 41197 - public/yanel/trunk/src/build/targets/webapp

michi at wyona.com michi at wyona.com
Thu Jan 29 10:35:24 CET 2009


Author: michi
Date: 2009-01-29 10:35:23 +0100 (Thu, 29 Jan 2009)
New Revision: 41197

Modified:
   public/yanel/trunk/src/build/targets/webapp/cluster.xml
Log:
copy files refactored such that it can also be used standalone

Modified: public/yanel/trunk/src/build/targets/webapp/cluster.xml
===================================================================
--- public/yanel/trunk/src/build/targets/webapp/cluster.xml	2009-01-29 09:24:11 UTC (rev 41196)
+++ public/yanel/trunk/src/build/targets/webapp/cluster.xml	2009-01-29 09:35:23 UTC (rev 41197)
@@ -9,9 +9,7 @@
       <condition><not><available file="${tomcat1.webapps.dir}"/></not></condition>
     </fail>
 
-    <copy todir="${tomcat1.webapps.dir}/${servlet.context.prefix}">
-      <fileset dir="${yanel.source.home}/build/webapps/${servlet.context.prefix}"/>
-    </copy>
+    <antcall target="copy-webapp-files-to-tomcat-cluster-node1"/>
 
     <replace file="${tomcat1.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="log4j-cnode1.log">
       <replacetoken>log4j-cmdl.log</replacetoken>
@@ -46,6 +44,12 @@
     
   </target>
 
+  <target name="copy-webapp-files-to-tomcat-cluster-node1" depends="init">
+    <copy todir="${tomcat1.webapps.dir}/${servlet.context.prefix}">
+      <fileset dir="${yanel.source.home}/build/webapps/${servlet.context.prefix}"/>
+    </copy>
+  </target>
+
   <target name="patch-tomcat-cluster-node-1-ssl-port" if="property-tomcat1-ssl-port-is-set">
     <echo>SSL port for tomcat is set</echo>
     <xslt in="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"



More information about the Yanel-commits mailing list