I am not familiar with the v-copy task. Perhaps it does not support the use of UNC paths? Try asking the Apache Commons users list the same question. You might try using the scp or ftp task for deploying files remotely.
-Rob Anderson > -----Original Message----- > From: Venkat Kotu [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 7:29 AM > To: [email protected] > Subject: v-copy across machines > > Hi, > > > > I have a situation that the artifacts like war and ear files > need to be copied to a different machine (other than the > build machine) as part of the build process. I am using > v-copy of the Apache Commons' VFS project. > > > > The task definition is some thing like this: > > > > <v-copy src="${basedir}/proj.war" > > destfile="\\\\deploy_machine\\builds\\proj.war" > > overwrite="true"/> > > > > I have tried both with the forward slashes (/) as well as > backward slash (\). However the file is copied to a folder > called \deploy_machine\builds under the root. > > > > What am I doing wrong? > > > > Can some one suggest a method to achieve the functionality I > am looking for? > > > > Thanks in advance, > > Venkat Kotu > > Portico(tm) Systems > > Senior Software Engineer > > T 484 533 6244 > > F 610 629 0720 > > > > www.porticosys.com > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
