Re: nant copy sometimes fails

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
Does that Really matter? I can open a zip file on my PC and go home and forget to close it. That is the only think I can think of that would cause a copy to fail... unless there was some network issue, although it looks like the copy source and target is all on the same machine looking at your task.

BOb


> -----Original Message-----
> From: netvampire.tw [mailto:[email protected]]
> Sent: Thursday, February 04, 2010 10:46 AM
> To: Bob Archer; [email protected]
> Subject: Re: [NAnt-users] nant copy sometimes fails
> 
> no.it's an auto batch job in the midnight.
> zip some files and copy to some folders to backup.
> 
> 
> 
> ----- 原始信件 ----
> 寄件者: Bob Archer <[email protected]>
> 收件者: netvampire.tw <[email protected]>; "nant-
> [email protected]" <[email protected]>
> 寄件日期: 2010/2/4 (四) 10:45:38 PM
> 主 旨: RE: [NAnt-users] nant copy sometimes fails
> 
> >     I use nant copy in my build files.There are sometimes copy fails.It
> > happends different time and different files.
> > I can't figure out why it happend and when it happed. each files about
> 200
> > MB and there are 20 files.
> > it always happend afeter some exec task.Is it cause by memory or .net gc
> ?
> >
> > <copy todir="${sourcedir}\8-Install\FullPak-${NewVersion}"
> > overwrite="true">
> >     <fileset basedir="${sourcedir}\6-Frame\Release\FullPak\">
> >      <include name="**"/>
> >     </fileset>
> >    </copy>
> >
> > Build Error: NAnt.Core.BuildException
> > Cannot copy 'D\sourcedir\Data14.zip' to 'D:\outpdir\Data14.zip'.
> > in D:\project\Build.xml line: 904 col: 5
> >    at NAnt.Core.Tasks.CopyTask.DoFileOperations()
> 
> Is it possible someone has that .zip file opened?
> 
> BOb
> 
> ___________________________________________________
>  您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
>  http://messenger.yahoo.com.tw/
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.