Add missing framework exists check.

Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/commit/b7a52e8e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/tree/b7a52e8e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/diff/b7a52e8e

Branch: refs/heads/1.5.x
Commit: b7a52e8eef2b187a25580ab0057593ea895ba051
Parents: 179185b
Author: Timothy A. Bish <tab...@apache.org>
Authored: Mon Oct 31 18:27:16 2011 +0000
Committer: Timothy A. Bish <tab...@apache.org>
Committed: Mon Oct 31 18:27:16 2011 +0000

----------------------------------------------------------------------
 nant-common.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/blob/b7a52e8e/nant-common.xml
----------------------------------------------------------------------
diff --git a/nant-common.xml b/nant-common.xml
index 5fcad45..d79bc7b 100644
--- a/nant-common.xml
+++ b/nant-common.xml
@@ -230,7 +230,9 @@
         <property name="current.build.framework.sign" value="true" />
         <property name="link.sdkdoc.version" value="SDK_v7_0" />
         <property name="link.sdkdoc.web" value="true" />
-        <property name="nant.settings.currentframework" 
value="${current.build.framework}" />
+        <if test="${framework::exists(current.build.framework)}">
+            <property name="nant.settings.currentframework" 
value="${current.build.framework}" />
+        </if>
     </target>
 
     <target name="set-netcf-2.0-framework-configuration">

Reply via email to