I grabbed the latest nantcontrib and nant, but the <codestat> task keeps
throwing errors when I try to do the example that is in the docs.
<codestats outputFile="test.xml"
verbose="true">
<counts>
<count label="C#">
<fileset>
<include name="*.cs" />
</fileset>
</count>
<count label="SQL">
<fileset>
<include name="*.sql" />
</fileset>
</count>
</counts>
</codestats>
And here is the output:
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
log4net: DefaultRepositorySelector: Creating repository for assembly
[NAnt.Core, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null] Loaded From
[c:\projects\ccsd\utils\nant\nant-0.8.5\bin\nant.core.dll]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null] does not have
a RepositoryAttribute specified.
log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null] using
repository [log4net-default-repository] and repository type
[log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: repository
[log4net-default-repository] already exists, using repository type
[log4net.Repository.Hierarchy.Hierarchy]
Buildfile: file:///C:/projects/Indicators/Intel.Indicators.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: analysis
analysis:
[echo] Analyzing the Intel.Indicators code
BUILD FAILED
C:\projects\Indicators\Intel.Indicators.build(896,4):
Unexpected attribute \"outputFile\" on element <codestats>.
Total time: 0.2 seconds.
Tool completed with exit code 1
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users