I have to copy a directory structure from a Linux Machine to windows. . Directory looks something like..
Test directory - next level directory - low level directory with some jar. This should be copied as is. With ftp it only copies jar but not the directory structure. Can you please help ? On Jun 16, 2015 7:00 AM, "aalok singhvi" <aaloksing...@gmail.com> wrote: > No worries. For now I am trying to see if i can overwrite the files that > are not delete. I am getting the files from FTP. Lets see if that works or > not. > > On Mon, Jun 15, 2015 at 2:55 PM, Stefan Bodewig <bode...@apache.org> > wrote: > >> On 2015-06-15, aalok singhvi wrote: >> >> > When I use execute something like.. >> >> > exec name=cmd >> > Arg= /c >> > Arg=ant path to the batch file under bin >> > Arg=-p >> > End exec >> >> > Delete >> >> > Both exec and delete are in same target. It delete all files except two >> > saying that attempts to delete the file when ant jvm has exited and >> might >> > not succeed. >> >> As long as the Ant process that locks the files is running, nothing ill >> be able to delete them - not a forked process and not anything else we >> can come up with. >> >> There really isn't any solution to this other than "don't make Ant lock >> your files until you are ready with your preparations". When I >> suggested forking Ant would be an option, I was thinking about doing the >> part that locks the files rather than the one that tries to delete them. >> >> Stefan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >> For additional commands, e-mail: user-h...@ant.apache.org >> >> > > > -- > Aalok Singhvi >