This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Command line build issue with CCS 5.3

Other Parts Discussed in Thread: CCSTUDIO

I have a fairly large project that I am able to build successfully using the IDE.

However, I have struggled greatly attempting to build from the command line (which is required).

I used the information provided here:
http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create

The import would work but the build would fail right away and the log file was full of archaic java error messages which I could not decipher.

After searching the forums extensively, I came across the following post:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/243066.aspx

I replaced my com.ti.ccstudio.project.core_5.3.0.201211071700 file as directed in the post and I was able to successfully build my project.

Has this issue been fixed in later CCS releases?  Can you provide information about what the fix was?

  • Hi John,

    That issue has been fixed in CCSv5.4.0.

    Thanks

    ki

    P.S. - thanks for searching the forums first! Not everyone does it so it is appreciated that you did so.

  • Thanks Ki - i will upgrade as soon as I am able.

    Has this issue (from http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create#Import_an_existing_CCS_Eclipse_Project  ) been resolved:

    Q: Are relative paths supported when using the project import command?
    As of CCS 5.3, commands with relative paths such as below are not supported. We hope to address this in a future release.

  • I am running CCS version 5.4.0.00091 and the issue above (relative paths on command line) does not appear to work. Can anyone provide additional information - we really need this for the way we do our builds.

  • I modified my .bat file to do the following:

    REM .bat file resides in same directory as the project we want to import, %cd% gives full path of current directory
    eclipsec.exe -noSplash -data C:\tempWorkspace -application com.ti.ccstudio.apps.projectImport -ccs.location %cd%

    REM used pushd to navigate to location of dependent project for import
    pushd ..\..\dependentProject

    REM Now import the dependent project
    eclipsec.exe -noSplash -data C:\tempWorkspace -application com.ti.ccstudio.apps.projectImport -ccs.location %cd%

    REM now build our project
    eclipsec.exe -noSplash -data C:\CrossbowDspUmtsTempWorkspace -application com.ti.ccstudio.apps.projectBuild -ccs.projects myProject -ccs.configuration Release