Add missing framework exists check.
Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-msmq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-msmq/commit/741e94b2 Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-msmq/tree/741e94b2 Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-msmq/diff/741e94b2 Branch: refs/heads/1.5.x Commit: 741e94b25d7d65511fc2118b4efe161bba4f41f5 Parents: 3c368d4 Author: Timothy A. Bish <[email protected]> Authored: Mon Oct 31 18:27:16 2011 +0000 Committer: Timothy A. Bish <[email protected]> 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-msmq/blob/741e94b2/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">
