hm the log doesn´t seem to have been updated since I upgraded?

is it this that set the folderpath?    <add key="ServerLogFilePath"
value="${TMP}\ccnet.log"/>



ah found it - the logfiles are now from 1.6 located in c:\Users\
[service running user]\AppData\Local\
*************************
2011-01-31 08:32:12,626 [CommitteeService_all:DEBUG] Starting process
[D:\ccnet_tools\fxcop\FxCopCmd.exe] in working directory [D:
\ccnet_server\CruiseControl.NET\server\CommitteeService_all
\WorkingDirectory] with arguments [
      /file:"D:\ccnet_projekt\CommitteeService\Test\bin\Build
\Sis.Common.Wcf.CommitteeServiceCore.dll"
      /file:"D:\ccnet_projekt\CommitteeService\Test\bin\Build
\Sis.Common.Wcf.CommitteeServiceTest.dll"
      /directory:"D:\ccnet_projekt\CommitteeService\Test\bin\Build\"
      /out:"D:\ccnet_server\CruiseControl.NET\server
\CommitteeService_all\Artifacts\fxcopreport.xml"
      /project:"D:\ccnet_projekt\config_filer\fxcopfiles\basic.FxCop"
      /dictionary:"D:\ccnet_tools\fxcop\CustomDictionary.xml"
      /quiet
      /timeout:90
      /ignoregeneratedcode
      /ignoreinvalidtargets
      /forceoutput
      /verbose
      /searchgac
    ]
2011-01-31 08:32:12,626 [CommitteeService_all:DEBUG] Not setting
PriorityClass on [D:\ccnet_tools\fxcop\FxCopCmd.exe] to default Normal
2011-01-31 08:32:12,704 [206:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] Microsoft (R) FxCop Command-Line
Tool, Version 1.36 (9.0.30729.1)
2011-01-31 08:32:12,704 [206:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] Copyright (C) 2007 Microsoft
Corporation.  All rights reserved.
2011-01-31 08:32:12,704 [206:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe]
2011-01-31 08:32:12,704 [121:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] Argument specified without a
corresponding switch : '
2011-01-31 08:32:12,704 [121:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] '.
2011-01-31 08:32:12,704 [121:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe]
2011-01-31 08:32:12,704 [121:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] Type FxCopCmd.exe /? for help on
command-line arguments.
2011-01-31 08:32:12,704 [121:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] standard-error stream closed -- null
received in event
2011-01-31 08:32:12,704 [206:DEBUG] [CommitteeService_all D:
\ccnet_tools\fxcop\FxCopCmd.exe] standard-output stream closed -- null
received in event
2011-01-31 08:32:12,719 [5:DEBUG] [CommitteeService_all D:\ccnet_tools
\fxcop\FxCopCmd.exe] process exited event received
*********************************

On Jan 31, 8:55 am, "Craig & Sammi Sutherland"
<[email protected]> wrote:
> I'm not sure this is a problem with the exec task - I think it is more
> likely the pre-processor is not doing something correctly (this part was
> changed extensively in 1.6).
>
> Can you take a look in the log for ccnet to see what args are actually
> passed to the fxcop. The log is normally called ccnet.log and by default is
> in the same directory as the binaries.
>
> And for the next version we're planning on adding an editor so you won't
> need to fry your brain with XML ;-)
>
> Craig
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of östen petersson
> Sent: Monday, 31 January 2011 8:18 p.m.
> To: ccnet-user
> Subject: [ccnet-user] there must be some change to the exec task in 1.6
>
> so the below snippets has worked in 1.4 and 1.6 I did an upgrade
> before the weekend and now all projects running fxcop is failing
>
> the message is as always with fxcop cryptic:
>
> <buildresults>
>   <message level="Error">Argument specified without a corresponding
> switch : '</message>
>   <message level="Error">'.</message>
>   <message level="Error">Type FxCopCmd.exe /? for help on command-line
> arguments.</message>
> </buildresults>
>
> <cb:define name="fxcopspecificArgs">
>       /file:$(WorkingDirectory)$(MyProject)
> \blabla.Common.Wcf.CommitteeServiceCore.dll
>       /directory:$(WorkingDirectory)$(MyProject)\Test\bin\Build\
>       /out:"$(ServerDictionary)$(MyProject)$(myProjectType)\Artifacts
> \fxcopreport.xml"
>       /project:"$(WorkingDirectory)config_filer\fxcopfiles
> \basic.FxCop"
>       /dictionary:"$(fxcopDictionary)"
>       /quiet
>       /timeout:90
>       /ignoregeneratedcode
>       /ignoreinvalidtargets
>       /forceoutput
>       /verbose
>       /searchgac
>     </cb:define>
>
>           <exec>
>             <description>............running fxcop............</
> description>
>             <executable>D:\ccnet_tools\fxcop\FxCopCmd.exe</executable>
>             <buildArgs>
>               <cb:fxcopspecificArgs/>
>             </buildArgs>
>             <buildTimeoutSeconds>900</buildTimeoutSeconds>
>           </exec>
>
> since my brain shuts down every time I stare at xml I have a hard time
> figuring out whats wrong - anyone with a tip?
>
> also you are going to update the documentation on the packager syntax
> right?

Reply via email to