Hi All,
Just found that a new release was available so I eagerly downloaded and
attempted to build using the included binaries.
When attempting to build the \tests\NAnt.Core\NAnt.Core.build script it
fails with a NotSupportedException.
The full stack trace is:
System.NotSupportedException: The given path's format is not
supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String
path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.AddExpressions(String[] str,
Boolean checkForDuplicates, Boolean needFullPath)
at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
access, String[] pathListOrig, Boolean check
ForDuplicates, Boolean needFullPath, Boolean copyPathList)
at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplica
tes, Boolean needFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String
destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName,
Boolean overwrite)
at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() in C:
\nant3\src\NAnt.DotNet\Tasks\CompilerBase.cs:line 413
at NAnt.Core.Task.Execute() in C:\nant3\src\NAnt.Core\Task.cs:line 151
at NAnt.Core.Target.Execute() in C:\nant3\src\NAnt.Core\Target.cs:line
207
at NAnt.Core.Project.Execute(String targetName) in C:
\nant3\src\NAnt.Core\Project.cs:line 757
at NAnt.Core.Project.Execute() in C:\nant3\src\NAnt.Core\Project.cs:line
733
at NAnt.Core.Project.Run() in C:\nant3\src\NAnt.Core\Project.cs:line 782
CompilerBase was attempting to create a file with an invalid character, a
':'. With some debugging I found that the resources included in the
test\NAnt.Core.build were the culprit. The file
\tests\NAnt.Core\Resources\Build.Files\Invalid\BadRoot.xml is attempted to
be copied to
\tests\NAnt.Core\Resources\Build.Files\Invalid\XML:.Build.Files.Invalid.BadRoot.xml.
The only reason it tries to do this is because the filenames do not match.
If, in the \test\NAnt.Core.build script I remove the prefix attribute and
change the dynamicprefix attribute to false NAnt builds and tests to
success. Am I missing something by changing the resource element?
Thoughts?
Thanks.
Brett Waring
The information contained in this message may be CONFIDENTIAL and is intended for the
addressee only. Any unauthorised use, dissemination of the information, or copying of
this message is prohibited. If you are not the addressee, please notify the sender
immediately by return e-mail and delete this message. Although this e-mail and any
attachments are believed to be free of any virus, or other defect which might affect
any computer or system into which they are received and opened, it is the
responsibility of the recipient to ensure that they are virus free and no
responsibility is accepted by M&G for any loss or damage from receipt or use thereof.
Please note that all e-mail messages are subject to interception for lawful business
purposes.
**** SEASONS GREETINGS ****
This year M&G is supporting Crisis, the national charity for homeless people, by
donating part of its Christmas card budget to the Crisis Christmas Card Challenge.
**** SEASONS GREETINGS ****
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers