Hi Bob,
This is a known issue for beta 1 that has been fixed since.
Can you try using a recent nighlty build?
Gert
From: Bob Archer
Sent: Wednesday, April 22, 2009 11:15 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Property 'sdkInstallRoot' has not been set.
I am using .86Beta1 and getting a funky error message. Here is the error
message and stack trace output when running in -debug mode.
Any ideas? I have a very simple build file thus far.
Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target framewo
rk.
Property evaluation failed.
Expression: ${path::combine(sdkInstallRoot, 'bin')}
^^^^^^^^^^^^^^
Property 'sdkInstallRoot' has not been set.
Stacktrace:
Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target framewo
rk.:
NAnt.Core.BuildException: Failed to initialize the 'Microsoft .NET Framework 2.0
' (net-2.0) target framework. ---> Property evaluation failed.
Expression: ${path::combine(sdkInstallRoot, 'bin')}
^^^^^^^^^^^^^^:
NAnt.Core.BuildException: Property evaluation failed.
Expression: ${path::combine(sdkInstallRoot, 'bin')}
^^^^^^^^^^^^^^ ---> Property 'sdkInstallRoot' has no
t been set.:
NAnt.Core.BuildException: Property 'sdkInstallRoot' has not been set.
at NAnt.Core.ExpressionEvaluator.GetPropertyValue(String propertyName)
at NAnt.Core.ExpressionEvaluator.EvaluateProperty(String propertyName)
at NAnt.Core.ExpressionEvalBase.ParseValue()
--- End of inner exception stack trace ---
at NAnt.Core.PropertyDictionary.EvaluateEmbeddedExpressions(String input, Loc
ation location, Hashtable state, Stack visiting)
at NAnt.Core.FrameworkInfo.PerformInit()
at NAnt.Core.FrameworkInfo.Init()
--- End of inner exception stack trace ---
at NAnt.Core.FrameworkInfo.Init()
at NAnt.Core.FrameworkInfo.Validate()
at NAnt.Core.ProjectSettingsLoader.ConfigureRuntimeFramework()
at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode platformNode)
at NAnt.Core.ProjectSettingsLoader.ProcessSettings()
at NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold, Int32 inden
tLevel, Optimizations optimization)
at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32 inden
tLevel)
at NAnt.Core.ConsoleDriver.Main(String[] args)
Try 'nant -help' for more information
--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
--------------------------------------------------------------------------------
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users