ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: v-copy across machines
Date Tue, 13 Jun 2006 17:58:01 GMT
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:vkotu@porticosys.com] 
> Sent: Tuesday, June 13, 2006 7:29 AM
> To: user@ant.apache.org
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message