Add missing framework exists check.

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

Branch: refs/heads/1.5.x
Commit: 8481593453b8cd4136518a7992a7e978d5e6075d
Parents: 3c2315d
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-api/blob/84815934/nant-common.xml
----------------------------------------------------------------------
diff --git a/nant-common.xml b/nant-common.xml
index 1f3e3d3..2210d76 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