Re: [NAnt-users] nant copy sometimes fails
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 收件者: netvampire.tw ; "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 > 收件者: netvampire.tw ; "nant- > us...@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 > ? > > > > > overwrite="true"> > > > > > > > > > > > > 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
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 > 收件者: netvampire.tw ; "nant- > us...@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 > ? > > > > > overwrite="true"> > > > > > > > > > > > > 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 NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
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 收件者: netvampire.tw ; "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 ? > > overwrite="true"> > > > > > > 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 NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
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 ? > > overwrite="true"> > > > > > > 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 -- 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
[NAnt-users] nant copy sometimes fails
dears 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 ? 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() at NAnt.Core.Tasks.CopyTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.IfTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Build Error: NAnt.Core.BuildException Nested build failed. Refer to build log for exact reason. at NAnt.Core.Tasks.NAntTask.RunBuild(FileInfo buildFile) at NAnt.Core.Tasks.NAntTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.IfTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() ___ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 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