I dont know if it works now because the project is time consuming... if i have results, I will post it here=) thank you^^ um, nice to meet you ,where are you from?? seems that you are an expert in CCnet, you work for ThoughtWorks?
On Oct 16, 4:33 pm, "Ruben Willems" <[EMAIL PROTECTED]> wrote: > Hi > > just to be sure, does it work now? > No more errors? > > Keep in mind that when the build breaks, > the log is also as good as empty. > maybe it's better to adjust the project.bat file in this way : > > call A > call B >junk.txt > call C >> junk.txt > call D >> junk.txt > call E >> junk.txt > call F > > This way, junk.txt will be created when you call B.bat, > and the output of the other batch files will be appended to it. > In the previous mail, junk.txt would always be overwritten. > > with kind regards > Ruben Willems > > On Thu, Oct 16, 2008 at 10:28 AM, CMF <[EMAIL PROTECTED]> wrote: > > > wow.....it's a great method!!!! > > thank you very much, > > I tried it now=] > > > On Oct 16, 4:24 pm, "Ruben Willems" <[EMAIL PROTECTED]> wrote: > > > Hi > > > > Ok, first time I see this. > > > so you do not merge any files, only call 1 bat file, that produces so > > many > > > lines, > > > that a string overflow is generated. Whow! > > > > There is now only 1 thing you can do as far as I can see : > > > Reduce the output of those batch files. > > > Do you really need all that output? > > > > inside the Project.bat, you call X other batch files, > > > Let's say Project.bat looks like this > > > > call A > > > call B > > > call C > > > call D > > > call E > > > call F > > > > and you do not need the output from B till E > > > adust Project.bat like so > > > call A > > > call B >junk.txt > > > call C >junk.txt > > > call D >junk.txt > > > call E >junk.txt > > > call F > > > > now the output of these batch files is redirected to a file called > > junk.txt, > > > > and will not be merged anymore into ccnet, because it was not written to > > the > > > console. > > > > I hope this helps > > > > with kind regards > > > Ruben Willems > > > > On Thu, Oct 16, 2008 at 10:06 AM, CMF <[EMAIL PROTECTED]> wrote: > > > > > My ccnet.config: > > > > <cruisecontrol> > > > > <project name="Project1"> > > > > <triggers> > > > > </triggers> > > > > <tasks> > > > > <exec> > > > > <baseDirectory>C:\Project1\Test</baseDirectory> > > > > <executable>Project.bat</executable> > > > > <buildArgs>project1</buildArgs> > > > > <buildTimeoutSeconds>126000</buildTimeoutSeconds> > > > > </exec> > > > > </tasks> > > > > </project> > > > > <publishers> > > > > </publishers> > > > > </cruisecontrol> > > > > > Actullay the Project.bat call many batches which print so many lines. > > > > I think the *.xml the ccnet generated is so big, so I want ccnet to > > > > stop to generate *.xml anymore, is there any method? > > > > thank so much! > > > > > On Oct 16, 4:01 pm, "Ruben Willems" <[EMAIL PROTECTED]> wrote: > > > > > Hi > > > > > > I think you're on the wrong track here. > > > > > the items in the artifacts folder are generated by CCNet for > > statistics, > > > > > viewing build results, ... > > > > > These files do NOT have to merged again with a CCNet project. > > > > > > Can you post your ccnet.config file for this project? > > > > > > with kind regards > > > > > Ruben Willems > > > > > > On Thu, Oct 16, 2008 at 9:43 AM, CMF <[EMAIL PROTECTED]> wrote: > > > > > > > Dear Ruben Willems, > > > > > > Is there any method to stop CCnet to generate *.xml in > > > > > > Artifacts? I think I only need the log in CCnet.log and > > > > > > ccnet.txt........thanks > > > > > > > On Oct 16, 3:39 pm, CMF <[EMAIL PROTECTED]> wrote: > > > > > > > My project prints so many lines during the process so ccnet need > > to > > > > > > > log all the lines that the command prompt has displayed. > > > > > > > I am finding something about how log4net works on logging > > process.. > > > > > > > > On Oct 16, 3:18 pm, "Ruben Willems" <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > Hi > > > > > > > > > It's always possible to reduce the output ;-) > > > > > > > > these are some pointers : > > > > > > > > ° reduce the verbosity of MSBuild / Nant > > > > > > > > ° only merge xml files that you will be using in the dashboard > > > > > > > > ° pre-process some xml files, and merge these, iso the large > > > > original > > > > > > ones > > > > > > > > > if you post your ccnet.config file for this project, > > > > > > > > maybe I can have a look and see what's making the result so > > big. > > > > > > > > You may remove userids and paswords from it. > > > > > > > > > with kind regards > > > > > > > > Ruben Willems > > > > > > > > > On Thu, Oct 16, 2008 at 9:03 AM, CMF <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > > Dear Ruben WIllems, > > > > > > > > > Thank you for your reply, I realized that ccnet would > > generate > > > > some > > > > > > > > > XML which the size maybe over a hundreds of MB. > > > > > > > > > So I got that problem... > > > > > > > > > um, is there any method to log down some important > > information? > > > > > > > > > thanks. > > > > > > > > > > On Oct 16, 2:36 pm, "Ruben Willems" <[EMAIL PROTECTED] > > > > > wrote: > > > > > > > > > > Hi > > > > > > > > > > > It appears that you have a very big result file. > > > > > > > > > > Do you do code coverage, or merge large XML files, or > > > > something > > > > > > like > > > > > > > > > that? > > > > > > > > > > > with kind regards > > > > > > > > > > Ruben Willems > > > > > > > > > > > On Thu, Oct 16, 2008 at 8:31 AM, CMF <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > > > > I have received this error message from CCnet, but I > > don't > > > > know > > > > > > what > > > > > > > > > > > it is and how it can be solved.... > > > > > > > > > > > Could any one help me? > > > > > > > > > > > > 2008-10-10 18:38:28,551 Publisher threw exception: > > > > > > > > > > > System.OutOfMemoryException: Exception of type > > > > > > > > > > > 'System.OutOfMemoryException' was thrown. > > > > > > > > > > > at System.String.GetStringForStringBuilder(String > > value, > > > > Int32 > > > > > > > > > > > startIndex, Int32 length, Int32 capacity) > > > > > > > > > > > at System.Text.StringBuilder.GetNewString(String > > > > currentString, > > > > > > > > > > > Int32 requiredLength) > > > > > > > > > > > at System.Text.StringBuilder.Append(String value) > > > > > > > > > > > at > > > > ThoughtWorks.CruiseControl.Core.Util.StringUtil.Join(String > > > > > > > > > > > separator, String[] strings) > > > > > > > > > > > at > > > > > > > ThoughtWorks.CruiseControl.Core.Tasks.ProcessTaskResult.get_Data() > > > > > > > > > > > at > > > ThoughtWorks.CruiseControl.Core.Publishers.XmlIntegrationResultWriter.WriteTaskResults(IIntegrationResult > > > > > > > > > > > result) > > > > > > > > > > > at > > > ThoughtWorks.CruiseControl.Core.Publishers.XmlIntegrationResultWriter.WriteBuildElement(IIntegrationResult > > > > > > > > > > > result) > > > > > > > > > > > at > > > ThoughtWorks.CruiseControl.Core.Publishers.XmlIntegrationResultWriter.Write(IIntegrationResult > > > > > > > > > > > result) > > > > > > > > > > > at > > > ThoughtWorks.CruiseControl.Core.Publishers.XmlLogPublisher.Run(IIntegrationResult > > > > > > > > > > > result) > > > > > > > > > > > at > > > ThoughtWorks.CruiseControl.Core.Project.PublishResults(IIntegrationResult > > > > > > > > > > > result)
