Hi, all
I'm using the latest nightly build:
nant-snapshot-20020819.zip (nant version 0.8)
I noticed the following:
If I let Nant run from a drive mapping I get the following error:
---------------------------------------
N:\>nant -verbose -buildfile:test.build
INTERNAL ERROR
System.TypeInitializationException: The type initializer for "SourceForge.NAnt.T
askFactory" threw an exception. ---> System.UriFormatException: Invalid URI: The
format of the URI could not be determined.
at System.Uri.Parse()
at System.Uri..ctor(String uriString, Boolean dontEscape)
at System.Uri..ctor(String uriString)
at SourceForge.NAnt.DirectoryScanner.ScanDirectory(String path)
at SourceForge.NAnt.DirectoryScanner.Scan()
at SourceForge.NAnt.DirectoryScanner.get_FileNames()
at SourceForge.NAnt.TaskFactory.ScanDir(String path)
at SourceForge.NAnt.TaskFactory..cctor()
--- End of inner exception stack trace ---
at SourceForge.NAnt.TaskFactory.AddProject(Project project)
at SourceForge.NAnt.Project.ctorHelper(XmlDocument doc)
at SourceForge.NAnt.Project..ctor(String source)
at SourceForge.NAnt.NAnt.Main(String[] args)
Please send bug report to [EMAIL PROTECTED]
-------------------------------------------------------
This error does not show up if I run Nant from the actual location the N:/ drive maps to:
--------------
D:\_RSF_DevFw_Temp>nant -verbose -buildfile:test.build
Buildfile: file:///D:/_RSF_DevFw_Temp/test.build
Base Directory: D:\_RSF_DevFw_Temp
test:
[tstamp] 19 August 2002 18:57:10
BUILD SUCCEEDED
Total time: 0 seconds
-------------------
The test.build is just a TimeStamp task.
Up to now I've been using version 0.7.9 & it worked just fine with the drive mapping.
Anyone has an idea why ?
Yves Lorphelin
[EMAIL PROTECTED] http://www.realsoftwaregroup.com