You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2011/09/17 07:10:43 UTC

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

Author: bodewig
Date: Sat Sep 17 05:10:42 2011
New Revision: 1171895

URL: http://svn.apache.org/viewvc?rev=1171895&view=rev
Log:
unlike the .NET cscs the mono versions don't create the target directory if needed

Modified:
    logging/log4net/trunk/log4net.build

Modified: logging/log4net/trunk/log4net.build
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/log4net.build?rev=1171895&r1=1171894&r2=1171895&view=diff
==============================================================================
--- logging/log4net/trunk/log4net.build (original)
+++ logging/log4net/trunk/log4net.build Sat Sep 17 05:10:42 2011
@@ -1085,6 +1085,9 @@ limitations under the License.
                     <property name="temp.build.skip" value="true" />
                 </if>
             </if>
+            <if test="${file::exists(log4net.basedir + '/old-log4net.snk')}">
+              <mkdir dir="${current.bin.dir}/../oldkey" />
+            </if>
         </if>
         <if test="${not temp.build.skip}">
             <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="false" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
@@ -1173,6 +1176,9 @@ limitations under the License.
                     <property name="temp.build.skip" value="true" />
                 </if>
             </if>
+            <if test="${file::exists(log4net.basedir + '/old-log4net.snk')}">
+              <mkdir dir="${current.bin.dir}/../oldkey" />
+            </if>
         </if>
         <if test="${not temp.build.skip}">
             <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="false" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">