Author: jgomes
Date: Fri Apr 4 10:52:01 2008
New Revision: 644793
URL: http://svn.apache.org/viewvc?rev=644793&view=rev
Log:
Add support to skip unsupported platform builds.
Modified:
activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml
Modified: activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml?rev=644793&r1=644792&r2=644793&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml Fri Apr 4
10:52:01 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" />