0.84 RC1, Win2K Pro, .Net Framework 1.1 Why does the first build fragment throw an error, but the second is OK?
{{{Build Fragment That Throws An Error}}} <echo message="build.output.directory := ${build.output.directory}" /> <echo message="build.playpen := ${build.playpen}" /> <copy todir="${build.output.directory}"> <fileset> <includes name="${build.playpen}\bin\*" /> </fileset> </copy> {{{Corrected Build Fragment}}} <echo message="build.output.directory := ${build.output.directory}" /> <echo message="build.playpen := ${build.playpen}" /> <copy todir="${build.output.directory}"> <fileset basedir="${build.playpen}\bin"> <includes name="*" /> </fileset> </copy> {{{Output}}} [echo] build.output.directory := bin [echo] build.playpen := C:\_Playpens\AutomatedBuild\DailyBuild\edit BUILD FAILED INTERNAL ERROR System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at NAnt.Core.Tasks.CopyTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] Nick Varacalli http://www.varacalli.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers