Thanks for all your efforts with NANT.
The following exception explains itself and I will attempt to work around it, however reporting the failing path would be an improvement.
I have attached the offending nant script.
cheers
joe
C:\Documents and Settings\joseph\My Documents\BackupBardon>nant NAnt 0.85 (Build 0.85.1793.0; rc1; 28/11/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net
Buildfile: file:///C:/Documents and Settings/joseph/My Documents/BackupBardon/build.build
Target(s) specified: build
build:
BUILD FAILED
INTERNAL ERROR
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must
be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileInfo..ctor(String fileName)
at NAnt.Core.Tasks.CopyTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Total time: 19.5 seconds.
C:\Documents and Settings\joseph\My Documents\BackupBardon>
<?xml version="1.0"?> <project name="Backup Bardon C drive to eta family share" default="build" basedir="c:\"> <description>Backup Bardon C drive.</description>
<target name="clean" description="Remove all files in eta"> <copy todir="" verbose="true" /> </target> <target name="build" description="Copy files to eta"> <copy todir="\\eta\family\cdrive" verbose="true"> <fileset basedir="c:\"> <include name="affluxdata\**" /> <include name="Downloads\**" /> <include name="etax2004\**" /> <include name="NVIDIA\**" /> <include name="Palm\**" /> <include name="SystemSoftware\**" /> <include name="Documents and Settings\anna\**" /> <include name="Documents and Settings\julian\**" /> <include name="Documents and Settings\sandra\**" /> <include name="Documents and Settings\sam\**" /> <include name="Documents and Settings\joseph\**" /> <exclude name="NTUSER.dat*" /> </fileset> </copy> </target> </project>