Add missing framework exists check.
Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-ems/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-ems/commit/40f5097d Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-ems/tree/40f5097d Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-ems/diff/40f5097d Branch: refs/heads/1.5.x Commit: 40f5097dde458550d68e15d9ca39c291087894bb Parents: 8c927a2 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-ems/blob/40f5097d/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">
