Author: jgomes
Date: Fri Apr  4 10:48:56 2008
New Revision: 644790

URL: http://svn.apache.org/viewvc?rev=644790&view=rev
Log:
Add support to skip unsupported platform builds.

Modified:
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml
URL: 
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml?rev=644790&r1=644789&r2=644790&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml Fri Apr  4 
10:48:56 2008
@@ -157,6 +157,14 @@
        </if>
     </if>
 
+    <!-- Check to see if we should skip this build framework. -->
+    <if test="${not(build.skip)}">
+      <if test="${property::exists('build.'+current.build.framework+'.skip')}">
+        <property name="build.skip" value="true"/>
+        <echo message="The '${current.build.framework}' framework is not 
supported by this version of ActiveMQ .NET" />
+      </if>
+    </if>
+
     <if test="${not(build.skip)}">
        <property name="current.build.keysign" 
value="${current.build.config=='release' and current.build.framework.sign}"/>
        <echo message="Doing ${if(current.build.keysign,'a signed','an 
unsigned')} ${current.build.config} build for the 
${current.build.framework.name} framework" />


Reply via email to