Hello,
I have a CCSv6 project which contains three principal build configurations, the standard 'Debug' and 'Release' builds along with a specific 'MISRA' build which performs MISRA-C 2004 checking amongst other options.
I intend to run the MISRA build through Hudson Jenkins, as I currently do for release builds. But the command line script I use to import the code into a Jenkins workspace from SVN seems not to copy the .cproject file (which based on my initial evaluation seems to contain build configuration information).
The Jenkins job contains the following steps:
1. Pull an entirely new copy of the code from SVN to ".\DemoCode".
2. Remove the previous CCS workspace (using rd /Q /S)
3. Import the fresh project into the workspace. Using: "eclipsec -noSplash -data <workspace_location> -application com.ti.ccstudio.apps.projectImport -ccs.location ".\DemoCode" -ccs.copyIntoWorkspace"
4. Build the project. Using "eclipsec -noSplash -data <workspace_location> -application com.ti.ccstudio.apps.projectBuild -ccs.projects CDemo -ccs.autoImport -ccs.configuration MISRA"
It is on step 4 that the build fails, this only happens when building from the command line with the MISRA configuration specified. The build operates as expected when performed within Code Composer v6. If no build configuration is specified then the project builds under debug as expected.
I have noted that the .cproject file held within subversion (and the freshly pulled copy) is 162KB, but once the project import has completed the file has a size of 102KB. This leads me to believe that the project import step creates a new default copy of the .cproject file.
Does anybody have experience of a solution to this, or a suggestion for a better method of triggering the MISRA build from within Jenkins.
Many Thanks,
Daniel White
System Spec: Windows XP SP3, Code Composer Studio v6.0., Spectrum Digital TMS320C6424 DSK Module