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

michi at wyona.com michi at wyona.com
Thu Dec 10 15:06:27 CET 2009


Author: michi
Date: 2009-12-10 15:06:27 +0100 (Thu, 10 Dec 2009)
New Revision: 45946

Modified:
   public/yanel/trunk/src/build/targets/webapp/webapp.xml
Log:
check version of log4j properties file

Modified: public/yanel/trunk/src/build/targets/webapp/webapp.xml
===================================================================
--- public/yanel/trunk/src/build/targets/webapp/webapp.xml	2009-12-10 14:06:20 UTC (rev 45945)
+++ public/yanel/trunk/src/build/targets/webapp/webapp.xml	2009-12-10 14:06:27 UTC (rev 45946)
@@ -86,6 +86,11 @@
     </condition>
     <antcall target="check-config-version-yanel-xml"/>
 
+    <condition property="local.log4j.config.exists">
+      <available file="${local.config.home}/local.log4j.properties" type="file"/>
+    </condition>
+    <antcall target="check-config-version-log4j-properties"/>
+
     <!-- Overwrite default by local properties -->
     <!-- TODO: Make the patching selectable within the build.properties of the build ... -->
     <copy file="${local.config.home}/local.log4j.properties" tofile="${build.dir}/webapps/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" overwrite="true" failonerror="false"/>



More information about the Yanel-commits mailing list