I do this all the time for my projects.  Just use the <copy> task and specify the UNC path that you want the files to go to.
 
Something like this:
 
<copy todir=\\ServerName\share\directory verbose="${isVerbose}" overwrite="true">
 
   <fileset basedir="${build.dir}" failonerror="true">
    <includes name="**/*" />
   </fileset>
 
  </copy>
 
I hope this helps.
 
Jason


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hawkes
Sent: Sunday, March 07, 2004 11:00 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Deployment to remote PC using Nant

HI,
 
I have a build from Nant where I want to distribute the various assemblies to
remote dirrent PCs located on the same  network as the PC doing the Nant build.
 
Is it possible to do this directly from a task in Nant? e.g. some form of copy task.
 
Kind Regards
 
Steve

Reply via email to