activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1616070 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml
Date Wed, 06 Aug 2014 01:05:36 GMT
Author: jgomes
Date: Wed Aug  6 01:05:35 2014
New Revision: 1616070

URL: http://svn.apache.org/r1616070
Log:
Clean the individual configurations.
Fixes [AMQNET-486]. (See https://issues.apache.org/jira/browse/AMQNET-486)

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml?rev=1616070&r1=1616069&r2=1616070&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.6.x/nant-common.xml Wed Aug  6 01:05:35
2014
@@ -506,9 +506,18 @@
         <if test="${target::exists('clean-init')}">
             <call target="clean-init" />
         </if>
-        <delete dir="build" if="${directory::exists('build')}" />
-        <delete dir="obj" if="${directory::exists('obj')}" />
-        <delete dir="package" if="${directory::exists('package')}" />
+        <foreach item="String" in="${build.framework.strings}" delim="," property="current.build.framework">
+            <foreach item="String" in="${build.config.strings}" delim="," property="current.build.config">
+                <call target="clean-proj" />
+            </foreach>
+        </foreach>
+    </target>
+
+    <target name="clean-proj" depends="init" description="Deletes specific project build">
+        <property name="clean.dir" value="build/${current.build.framework}/${current.build.config}"
/>
+        <delete dir="${clean.dir}" if="${directory::exists(clean.dir)}" />
+        <property name="clean.dir" value="package/${current.build.config}" />
+        <delete dir="${clean.dir}" if="${directory::exists(clean.dir)}" />
     </target>
 
     <target name="package" description="Bundle the source and binary distributions.">



Mime
View raw message