I download source files and compile them from version control system and zip them to IntstallShield source folder. that is a task of my auto build processes.if I run it again,it works fine then.btw,I had change use nant copy to nant exec task and run xcopy now...:(
----- 原始信件 ---- 寄件者: Bob Archer <bob.arc...@amsi.com> 收件者: netvampire.tw <netvampire...@yahoo.com.tw>; "nant-users@lists.sourceforge.net" <nant-users@lists.sourceforge.net> 寄件日期: 2010/2/4 (四) 11:53:17 PM 主 旨: RE: [NAnt-users] nant copy sometimes fails 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:netvampire...@yahoo.com.tw] > Sent: Thursday, February 04, 2010 10:46 AM > To: Bob Archer; nant-users@lists.sourceforge.net > 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 <bob.arc...@amsi.com> > 收件者: netvampire.tw <netvampire...@yahoo.com.tw>; "nant- > us...@lists.sourceforge.net" <nant-users@lists.sourceforge.net> > 寄件日期: 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/ ___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 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 NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users