/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

TFS integration and automatic builds

Last post 03-28-2008, 3:03 PM by Serge B.. 10 replies.
Sort Posts: Previous Next
  •  10-17-2007, 8:41 AM 306

    TFS integration and automatic builds

    Hi,

    I'm implementing code analysis rules in my company, and therefore I'm looking with more attention to CodeIt.Right, and let me say that my first contact with the tool is very positive.

    Nevertheless, I have a couple of questions:

    - Is Team Foundation Server integration a milestone in the near future (3 to 6 months)?

    - Is it possible to CodeIt.Right to be part in the automatic build process, using Nant ou MSBuild?

    - Is there any sort of SDK documentation to help the development of custom rules?


    Thanks,

    Andre
     

    Filed under: ,
  •  10-18-2007, 2:45 AM 311 in reply to 306

    Re: TFS integration and automatic builds

    Thank you, Andre. 

    Andre Correia:

    - Is Team Foundation Server integration a milestone in the near future (3 to 6 months)?

    Yes, Team System edition is on our list right after we release v1. About 6 months time-frame.

    Andre Correia:

    - Is it possible to CodeIt.Right to be part in the automatic build process, using Nant ou MSBuild?

    Yes, there is command line version - SubMain.CodeItRight.Cmd.exe - that can be used in the automatic build process. The only caveat about command line tool it (naturally) will not correct violations but will report then in the XML output file.

    List of command line parameters:

     

    Here are all available command line options:


    /solution  [or /s]
    Solution file to load (*.sln file)

     

    /project  [or /p]
    Project file to load (*.csproj or *.vbproj file)

     

    /out  [or /o]
    XML report output file

     

    /help  [or /?]
    This help message

    Example:

       SubMain.CodeItRight.Cmd.exe /solution:"F:\Temp\ConsoleApplication4\ConsoleApplication4.sln" /out:"F:\Temp\ConsoleApplication4\CmdExport.xml"

    Andre Correia:

    - Is there any sort of SDK documentation to help the development of custom rules?

    We are working on the SDK tutorials and documentation. Should have first tutorial finished soon. I'm attached draft of the SDK help file to this post. You can also look at any of the rules distributed with CodeIt.Right using Reflector - rules are not obfuscated.  


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  10-24-2007, 6:36 AM 316 in reply to 311

    Re: TFS integration and automatic builds

    Hi Serge,

    Thanks for your quick answer.

    Regarding Team Foundation Server integration with CodeIt.Right, what type of integration will be supported:

    - Louselly coupled: Developers will have the option to follow the rules.

    - Tightly coupled: Developers will be forced to follow the rules.

     Or both?
     

    I'm assuming that CodeIt.Right rules will be published in TFS. 

    Regards,

    André 

    Filed under: ,
  •  10-24-2007, 11:45 PM 320 in reply to 316

    Re: TFS integration and automatic builds

    We are thinking both with a configuration option.

    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  01-21-2008, 2:29 AM 401 in reply to 320

    Re: TFS integration and automatic builds

    I second this suggestion general build integration is important.
    Filed under:
  •  01-21-2008, 2:37 AM 402 in reply to 401

    Re: TFS integration and automatic builds

    Thank you. This is still #1 on our list for CodeIt.Right "Team System Edition"

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  03-18-2008, 8:58 AM 485 in reply to 311

    Re: TFS integration and automatic builds

    Serge B.:

    Andre Correia:

    - Is it possible to CodeIt.Right to be part in the automatic build process, using Nant ou MSBuild?

    Yes, there is command line version - SubMain.CodeItRight.Cmd.exe - that can be used in the automatic build process. The only caveat about command line tool it (naturally) will not correct violations but will report then in the XML output file.

    List of command line parameters:

     

    Here are all available command line options:


    /solution  [or /s]
    Solution file to load (*.sln file)

     

    /project  [or /p]
    Project file to load (*.csproj or *.vbproj file)

     

    /out  [or /o]
    XML report output file

     

    /help  [or /?]
    This help message

    Example:

       SubMain.CodeItRight.Cmd.exe /solution:"F:\Temp\ConsoleApplication4\ConsoleApplication4.sln" /out:"F:\Temp\ConsoleApplication4\CmdExport.xml"

    Hello Serge,

     We are very much interested in CodeItRight, specifically for integrating it into our build process.

    I've been giving the command line option some testing and found that it will in fact stop the processing of the batch file it is started from, because once it finishes analysing the code it waits for a user input (e.g. pressing the Enter key) to give control back to the shell.

    Is integration with CVS planned for the near future?

    Best Regards

    Fred

     

  •  03-19-2008, 12:49 PM 486 in reply to 485

    Re: TFS integration and automatic builds

    Hi Fred,

    The console version of CodeIt.RiIght has gotten quite a bit of attention after the release and we've been working on improving it. We even will make it available before the v1.1 release. Literally by the end of this week - we will publish the updated SubMain.CodeItRight.exe without making a new build.

    What will be included into the improved command line version:

    • cmd line parameter for an XSL other than the built-in
    • formatted XML output (it is not formatted in v1.0)
    • fix for the /Quiet parameter
    • remove the required key press
    • cmd line parameter for .crdata exclusion list (currently CodeItRight.Cmd only processes SuspendMessage attribute flags in the source code)

    The v1.1 additionally will ship with ready to use tasks for MSBuild and NAnt.

    sundance:

    Is integration with CVS planned for the near future?

    Do you mean as far as the code check-in/check-out integration? This is on our v2.0 list (post v1.1 release)

    BTW, do you use the command line version of CVS or a visual tool?

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  03-24-2008, 2:12 AM 490 in reply to 486

    Re: TFS integration and automatic builds

    Hi Fred,

    New verison of CodeItRight.Cmd.exe is available now - http://submain.com/blog/CodeItRightV1008035CodeItRightCmdexeRefresh.aspx 


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  03-28-2008, 3:33 AM 499 in reply to 490

    Re: TFS integration and automatic builds

    Hi Serge, 

    That's great, I'll give it a try right away Big Smile

    Regarding CVS, we use the command line version of CVS. And indeed, I meant check-in/check-out integration.

    Thanks!

    Fred


     

  •  03-28-2008, 3:03 PM 500 in reply to 499

    Re: TFS integration and automatic builds

    Thank you, Fred.

    Yes, (CVS) command line version check-out integration is on our list.


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML