When I try to delete all files in build dir, I get the below error, below is my
task:
<target name="deleteall" >
<echo message="${nant.project.basedir}" />
<delete verbose="true" failonerror="true">
<fileset basedir="../${branch}/.NET/**" >
<includes name="*.*" />
</fileset>
</delete>
</target>
BUILD FAILED
INTERNAL ERROR
System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[]
str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionA
ccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFul
lPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at NAnt.Core.Project.GetFullPath(String path)
at NAnt.Core.Types.FileSet.InitializeElement(XmlNode elementNode)
at NAnt.Core.Element.Initialize(XmlNode elementNode)
at NAnt.Core.Element.CreateChildBuildElement(PropertyInfo propInf, XmlNode xm
l)
at NAnt.Core.Element.InitializeXml(XmlNode elementNode)
at NAnt.Core.Element.Initialize(XmlNode elementNode)
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers