From: Lorphelin, Y. <yve...@re...> - 2002-08-19 17:36:22
|
correction, was of course Nant.console.exe :-) Yves here is the output: N:\>nant.console.exe -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) in E:\Softwar e\nant\nant-snapshot-20020819\nant\src\NAnt.Core\DirectoryScanner.cs:line 260 at SourceForge.NAnt.DirectoryScanner.Scan() in E:\Software\nant\nant-snapshot -20020819\nant\src\NAnt.Core\DirectoryScanner.cs:line 171 at SourceForge.NAnt.DirectoryScanner.get_FileNames() in E:\Software\nant\nant -snapshot-20020819\nant\src\NAnt.Core\DirectoryScanner.cs:line 129 at SourceForge.NAnt.TaskFactory.ScanDir(String path) in E:\Software\nant\nant -snapshot-20020819\nant\src\NAnt.Core\TaskFactory.cs:line 62 at SourceForge.NAnt.TaskFactory..cctor() in E:\Software\nant\nant-snapshot-20 020819\nant\src\NAnt.Core\TaskFactory.cs:line 40 --- End of inner exception stack trace --- at SourceForge.NAnt.TaskFactory.AddProject(Project project) at SourceForge.NAnt.Project.ctorHelper(XmlDocument doc) in E:\Software\nant\n ant-snapshot-20020819\nant\src\NAnt.Core\Project.cs:line 185 at SourceForge.NAnt.Project..ctor(String source) in E:\Software\nant\nant-sna pshot-20020819\nant\src\NAnt.Core\Project.cs:line 162 at SourceForge.NAnt.NAnt.Main(String[] args) in E:\Software\nant\nant-snapsho t-20020819\nant\src\NAnt.Console\ConsoleRunner.cs:line 69 Please send bug report to nan...@li... N:\>d: D:\_RSF_DevFw_Temp>nant.console.exe -verbose -buildfile:test.build Buildfile: file:///D:/_RSF_DevFw_Temp/test.build Base Directory: D:\_RSF_DevFw_Temp test: [tstamp] 19 August 2002 19:40:02 BUILD SUCCEEDED Total time: 0 seconds -----Original Message----- From: Lorphelin, Yves [mailto:yve...@re...] Sent: 19 August 2002 18:51 To: 'nan...@li...' Cc: nan...@li... Subject: [Nant-users] Drive Mapping 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 nan...@li... ------------------------------------------------------- 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 yve...@re... http://www.realsoftwaregroup.com |