Hey guys,

Here is something I just tried and wanted to report it.

I left the dupfinder task uncommented and the cc validator said the 
ccnet.config file was not valid... unused node detected. I went to the web 
dashboard and there was no errors displayed related to the ccnet.config file 
being invalid. 

I forced a build and the build worked and was successful. However, the 
dupfinder task was never ran nor showed up in the ccnet.log file. The dupfinder 
task is uncommented in the ccnet.config file.

It is though cc validator says it is invalid and the ccnet service just skips 
it but nothing shows up in the ccnet.log file and it was as though it was never 
ran even though it is uncommented and in place.

I also opened up ccnet.config within vs 2008 just to validate that all xml was 
properly closed and there were no errors.

There is something causing this problem.

Is there anything else I can get you guys to help diagnose this situation?

Any ideas?

/Justin

  ----- Original Message ----- 
  From: Ruben Willems 
  To: [email protected] 
  Sent: Sunday, January 31, 2010 2:19 PM
  Subject: Re: [ccnet-user] rc1 error using dupfinder


  Hi

  yep it passes if i past it in, and when I commented it out, and re-validate, 
  it fails

  weird ...





  with kind regards
  Ruben Willems



  On Sun, Jan 31, 2010 at 7:42 PM, Justin Daubenmire <[email protected]> 
wrote:

    Hi Ruben,

    Here is my complete xml, including the missing fileMask for dupfinder, and 
it does not pass ccnet validation on my end - it errors saying unused node 
detected.

    Can you please copy/paste the below xml into a ccnet.config on your end and 
validate it and see if it passes?

    Thanks!

    <cruisecontrol xmlns:cb="urn:ccnet.config.builder">
        <project name="MyApplication">
        
workingDirectory>G:\Build\projects\MyApplication\code\</workingDirectory>
        
<artifactDirectory>G:\Build\Projects\MyApplication\Artifacts\</artifactDirectory>
        <webURL>http://MyServer/ccnet/</webURL>
        <modificationDelaySeconds>10</modificationDelaySeconds>
        <triggers>
          <intervalTrigger name="continuous" seconds="60" 
buildCondition="IfModificationExists" initialSeconds="30"/>
        </triggers>
              <labeller type="assemblyVersionLabeller">
                <major>1</major>  
                <minor>0</minor>
                <incrementOnFailure>true</incrementOnFailure>
              </labeller>
              <sourcecontrol type="svn" autoGetSource="true">
    <executable>g:\Program Files\VisualSVN Server\bin\svn.exe</executable>
       <workingDirectory></workingDirectory>
       <username>foo</username>
    <password>foo</password>
    
<trunkUrl>https://MyApplication.MySVNServer/MyApplication/branches/experimental</trunkUrl>
    </sourcecontrol>
        <tasks>
         <nant>
            <executable>G:\Build\Tools\Nant\bin\nant.exe</executable>
            <baseDirectory>G:\Build\Scripts\</baseDirectory>
            <nologo>true</nologo>
            <buildFile>VersionAssemblies.build</buildFile>
            <logger>NAnt.Core.XmlLogger</logger>
            <targetList>
              <target>version-assemblies</target>
            </targetList>
            <buildTimeoutSeconds>6000</buildTimeoutSeconds>
          </nant>
          <msbuild>
    <executable>g:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
            <workingDirectory></workingDirectory>
            <projectFile>MyApplication.sln</projectFile>
            <timeout>900</timeout>
    
<logger>G:\Build\tools\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
          </msbuild>
    <nant>
    <executable>G:\Build\Tools\Nant\bin\nant.exe</executable>
    <baseDirectory>G:\Build\Scripts</baseDirectory>
    <nologo>true</nologo>
    <buildFile>MyApplication.build</buildFile>
    <logger>NAnt.Core.XmlLogger</logger>
    <targetList>
    <target>run-reports</target>
    </targetList>
    <buildTimeoutSeconds>6000</buildTimeoutSeconds>
    </nant>
    <dupfinder>

      <fileMask>*.vb</fileMask> 
      <includeCode>True</includeCode> 
      <inputDir>g:\MyApplication\Code</inputDir> 
      <recurse>True</recurse> 
      <shortenNames>True</shortenNames> 
      <threshold>5</threshold> 
      <timeout>600</timeout> 
      <width>2</width> 
    <executable>g:\build\tools\DuplicateFinder1.5\DupFinder.exe</executable>
    <excludeFiles>AssemblyInfo.vb</excludeFiles>
    </dupfinder>
        </tasks>
        <publishers>
          <merge>
            <files>
    <file>G:\Build\Projects\MyApplication\Artifacts\nunit-results.xml</file>
    <file>G:\build\projects\MyApplication\artifacts\CoverageReport.xml</file>
    <file>G:\build\projects\MyApplication\artifacts\CoverageMerge.xml</file>
    <file>G:\build\projects\MyApplication\artifacts\Coverage.xml</file>
            </files>
          </merge>
          <xmllogger />
          <rss/>
          <statistics />
          <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="50" />
          <modificationHistory  onlyLogWhenChangesFound="true" />
        </publishers>
    </project>
    </cruisecontrol>


Reply via email to