Creating a C-sharp build specification
Creating a C-sharp build specificationKlocwork integrates with your build, capturing all of the information it needs to provide a centralized view of the entire code stream. Klocwork stores this information in a structured build log -- a text file we call a build specification. The build specification is the basis of the Klocwork analysis. It's important that the build specification is an accurate and up-to-date representation of your build. If the build specification is inaccurate, the Klocwork analysis will be inaccurate too. A build specification is required at both the integration and local build levels.
This article covers pure C# projects. If your project also contains C/C++ source, first go to Analyzing mixed C/C++ and C# projects. Prerequisites Before you can create a build specification, you need to install the Server or User package. See Installing Klocwork. Capture your build settingsThe example uses the open-source project NAnt, version 0.85. If you're using your own source code, substitute your information for the NAnt-specific information:
Review your build specification for accuracyOnce you've got a build specification:
If your build specification is valid, you're ready to move to the next step: Running the C# integration build analysis. What's next?
|