D
dxd
I'm trying to use the ant copy task to copy a directory plus all its
contents and subdirectories to a new directory e.g.
Source directory is d:\temp\dir1
Target directory is c:\temp
I want to execute the copy task on d:\temp\dir1 and end up with
c:\temp\dir1
But what I get is the contents of d:\temp\dir1 going to c:\temp not the
directory itself. Since there are many subdirectories in d:\temp I
don't want to just copy d:\temp to c:\temp.
I tried calling XCOPY from Ant but that behaves the same way.
Any suggestions?
Thanks
David
contents and subdirectories to a new directory e.g.
Source directory is d:\temp\dir1
Target directory is c:\temp
I want to execute the copy task on d:\temp\dir1 and end up with
c:\temp\dir1
But what I get is the contents of d:\temp\dir1 going to c:\temp not the
directory itself. Since there are many subdirectories in d:\temp I
don't want to just copy d:\temp to c:\temp.
I tried calling XCOPY from Ant but that behaves the same way.
Any suggestions?
Thanks
David