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 -- 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 bob.arc...@amsi.com 收件者: netvampire.tw netvampire...@yahoo.com.tw; nant-users@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/ -- 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 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/ -- 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 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
[NAnt-users] Nant VS CC.NEt
Hi All, I am looking to introduce a Continuous Integration/build environment to my dev team which currently has none. What would be the primary advantage(s) to choosing a NANT too over CC.NET ? Chris -- 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 VS CC.NEt
Ok perhaps I should have phrased my question a little better, I am looking for CI and daily builds. I've used CC.Net before exclusively without NANT. My question was more why would I choose to use the functionality exposed in NANT, such a executing tasks, copying files etc When CC.NET also has utilities for doing the same thing ? There seems to be quite a bit of over lap between the tasks that CC.Net can don and the tasks that NANT can do. Therefore what is the benefit ? Of combining the two ? From: Stephan King [mailto:sk...@inquesttechnologies.com] Sent: Thursday, February 04, 2010 4:56 PM To: Chris Howell Subject: RE: [NAnt-users] Nant VS CC.NEt You don't choose one over the other, they go hand in hand. CC.NET will handle all of your source control operations, scheduling, emailing, publishing, etc, and CC.NET will call into your NANT scripts to do things like run MSBuild, copy files, etc. Stephan From: Chris Howell [mailto:chris.how...@padresoft.com] Sent: Thursday, February 04, 2010 4:33 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant VS CC.NEt Hi All, I am looking to introduce a Continuous Integration/build environment to my dev team which currently has none. What would be the primary advantage(s) to choosing a NANT too over CC.NET ? Chris -- 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 VS CC.NEt
Well, for one thing, each does some things better than the other, so we like to take advantage of that. We have customized CC.NET heavily with custom tasks that have allowed to us fully integrate git with CC.NET. Some things make sense to do in CC.NET, others in nant, still others with custom C# tasks or calls out to the console. The decision becomes obvious on what technology to use as you become more familiar with both platforms, but I would never choose one over the other. Both have been essential to the success of a very well developed and highly customized continuous integration system for us here. Stephan From: Chris Howell [mailto:chris.how...@padresoft.com] Sent: Thursday, February 04, 2010 5:10 PM To: Stephan King Cc: nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Nant VS CC.NEt Ok perhaps I should have phrased my question a little better, I am looking for CI and daily builds. I've used CC.Net before exclusively without NANT. My question was more why would I choose to use the functionality exposed in NANT, such a executing tasks, copying files etc When CC.NET also has utilities for doing the same thing ? There seems to be quite a bit of over lap between the tasks that CC.Net can don and the tasks that NANT can do. Therefore what is the benefit ? Of combining the two ? From: Stephan King [mailto:sk...@inquesttechnologies.com] Sent: Thursday, February 04, 2010 4:56 PM To: Chris Howell Subject: RE: [NAnt-users] Nant VS CC.NEt You don't choose one over the other, they go hand in hand. CC.NET will handle all of your source control operations, scheduling, emailing, publishing, etc, and CC.NET will call into your NANT scripts to do things like run MSBuild, copy files, etc. Stephan From: Chris Howell [mailto:chris.how...@padresoft.com] Sent: Thursday, February 04, 2010 4:33 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant VS CC.NEt Hi All, I am looking to introduce a Continuous Integration/build environment to my dev team which currently has none. What would be the primary advantage(s) to choosing a NANT too over CC.NET ? Chris -- 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 VS CC.NEt
Think of ccnet as the trigger that fires your nant scripts. Ccnet will continuously watch something. That something could be the current time, one or more source control repositories, the filesystem, or you can write your own code to monitor whatever you want. When something changes (a commit, new file, changed file, time of day), ccnet will execute actions that you specify. Those actions are typically nant scripts, the same scripts you would use locally to build your product. You could use batch files, .vbs files, powershell scripts I guess if you wanted too. This allows you to have unattended server builds of your code. However if you hack away at the ccnet engine hard enough, you could probably make it do robo dialing for a politician based on when a list of phone numbers change. From: Chris Howell [mailto:chris.how...@padresoft.com] Sent: Thursday, February 04, 2010 5:10 PM To: Stephan King Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant VS CC.NEt Ok perhaps I should have phrased my question a little better, I am looking for CI and daily builds. I've used CC.Net before exclusively without NANT. My question was more why would I choose to use the functionality exposed in NANT, such a executing tasks, copying files etc.. When CC.NET also has utilities for doing the same thing ? There seems to be quite a bit of over lap between the tasks that CC.Net can don and the tasks that NANT can do. Therefore what is the benefit ? Of combining the two ? From: Stephan King [mailto:sk...@inquesttechnologies.com] Sent: Thursday, February 04, 2010 4:56 PM To: Chris Howell Subject: RE: [NAnt-users] Nant VS CC.NEt You don't choose one over the other, they go hand in hand. CC.NET will handle all of your source control operations, scheduling, emailing, publishing, etc, and CC.NET will call into your NANT scripts to do things like run MSBuild, copy files, etc. Stephan From: Chris Howell [mailto:chris.how...@padresoft.com] Sent: Thursday, February 04, 2010 4:33 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Nant VS CC.NEt Hi All, I am looking to introduce a Continuous Integration/build environment to my dev team which currently has none. What would be the primary advantage(s) to choosing a NANT too over CC.NET ? Chris -- 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