You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ca...@apache.org on 2007/08/30 00:19:19 UTC

svn commit: r570953 - /logging/log4net/trunk/log4net.build

Author: carnold
Date: Wed Aug 29 15:19:19 2007
New Revision: 570953

URL: http://svn.apache.org/viewvc?rev=570953&view=rev
Log:
Replace win-specific svn add * with nant foreach

Modified:
    logging/log4net/trunk/log4net.build

Modified: logging/log4net/trunk/log4net.build
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/log4net.build?rev=570953&r1=570952&r2=570953&view=diff
==============================================================================
--- logging/log4net/trunk/log4net.build (original)
+++ logging/log4net/trunk/log4net.build Wed Aug 29 15:19:19 2007
@@ -1058,11 +1058,20 @@
   <target name="post-site" depends="checkout-site, update-site" description="checkout log4net web content prior to deployment"/>
 
   <target name="site-deploy">
-    <exec program="svn" workingdir="${deploy.dir}" failonerror="true">
-      <arg value="add"/>
-      <arg value="--force"/>
-      <arg value="*"/>
-    </exec>
+    <foreach item="File" property="src.star">
+      <in>
+        <items basedir="${deploy.dir}">
+          <include name="**/*"/>
+		  <exclude name=".*"/> 
+        </items>
+      </in>
+      <do>
+        <exec program="svn">
+          <arg value="add"/>
+          <arg value="${src.star}"/>
+        </exec>
+      </do>
+    </foreach>
     <foreach item="File" property="src.html">
       <in>
         <items basedir="${deploy.dir}">