This is really strange. I am experiencing the complete opposite on my end. If I 
comment out the dupfinder task, it passes validation. However, if I uncomment 
the dupfinder task and leave it in place, it fails validation.

Any ideas on what might be going on?

strange...

/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