Hi,
I kinda digged
through the archieves - Hence this mail.
When I am using the
vssget task, it gives me an 'System.ArgumentException' during build saying that
the xmlnode has not been mapped.
Following is
the build file:
<project
name="Common" default="get" basedir=".">
<property name="project.name" value="Common"/>
<target name="get">
<echo message="Getting ${project.name}"/>
<loadtasks assembly="D:\nant\bin\NAnt.Contrib.Tasks.dll"/>
<vssget user="user"
password="password"
localpath="."
recursive="true"
replace="true"
writable="true"
dbpath="\\nt11\cisshare\VSS\srcsafe.ini"
path="$/MFIMSCommon/MFIMSCommon"
/>
</target>
</project>
<property name="project.name" value="Common"/>
<target name="get">
<echo message="Getting ${project.name}"/>
<loadtasks assembly="D:\nant\bin\NAnt.Contrib.Tasks.dll"/>
<vssget user="user"
password="password"
localpath="."
recursive="true"
replace="true"
writable="true"
dbpath="\\nt11\cisshare\VSS\srcsafe.ini"
path="$/MFIMSCommon/MFIMSCommon"
/>
</target>
</project>
Error
:
NAnt 0.84 (Build
0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Framework net-1.2 is
invalid and has not been loaded : Framework directory
C:\WINNT\Microsoft.NET\Framework\v1.2.30703 does not exist.
Framework mono-1.0 is invalid and has not been loaded : Property 'sdkInstallRoot' has not been set.
Framework sscli-1.0 is invalid and has not been loaded : Framework directory C:\sscli\build\v1.x86fstchk.rotor does not exist.
Buildfile: file:///D:/Unit Testing - Mobile FIMS Client/sriram/ZC2037a/Common/vss.build
Base Directory: D:\Unit Testing - Mobile FIMS Client\sriram\ZC2037a\Common.
Target(s) specified: get
Framework mono-1.0 is invalid and has not been loaded : Property 'sdkInstallRoot' has not been set.
Framework sscli-1.0 is invalid and has not been loaded : Framework directory C:\sscli\build\v1.x86fstchk.rotor does not exist.
Buildfile: file:///D:/Unit Testing - Mobile FIMS Client/sriram/ZC2037a/Common/vss.build
Base Directory: D:\Unit Testing - Mobile FIMS Client\sriram\ZC2037a\Common.
Target(s) specified: get
get:
[echo] Getting Common
[loadtasks] Loading tasks from assembly D:\Unit Testing - Mobile FIMS Client\nant\bin\NAnt.Contrib.Tasks.dll.
[loadtasks] Loading tasks from assembly D:\Unit Testing - Mobile FIMS Client\nant\bin\NAnt.Contrib.Tasks.dll.
BUILD
FAILED
INTERNAL
ERROR
System.ArgumentException: Xml node has not been mapped.
at NAnt.Core.LocationMap.GetLocation(XmlNode node)
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
at NAnt.Core.LocationMap.GetLocation(XmlNode node)
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug
report to [EMAIL PROTECTED].
Total time: 0.1
seconds.
Any help is
appreciated.
Thanks in advance,
Sriram