Markus KARG wrote:
I am writing a plugin which needs to copy files. Since the File.rename() command can fail if source and target are on different drives, and since I don't want to write my own byte mover loop, I wonder whether there is an out-of-the-box file copy / file move library that I can just call?
Try FileUtils.moveFile from the apache commons-io library (version 1.4). It's not 'mavenized' but I think it will do the trick. Regards, Mihailo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org