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.

CCSv4 SDT make project build or make targets path problems

This interesting behavior of build or make targets dialogs for paths with spaces.

Lets say that build command path contains spaces. If SDT make project is created through command line then build target can be executed. If Build Properties dialog is opened, path unrelated change is made and changes are saved then build command stops working because of the spaces in the path. After correcting Build command in the same dialog by enclosing it in double quotes (CCSv4 still displays full command correctly), CCS can build again. If Build properties dialog is opened and unrelated change made again then build command stops working until double quotes are added. The same is true for make targets dialog.

It looks like CCS loses double quotes at opening Build/Make properties dialogs.

Eugene

  • Hi Eugene,

    I couldn't reproduce the problem based on your description.  Could you please provide me with the exact steps to reproduce both issues (i.e. the issue with spaces in the build-command, and the issue with spaces in the make-target name).  Also, let me know what host operating system you're using.

    Thanks,

    - Baltasar

  • Hi Baltasar,

    I use MS Windows XP 32b and CCSv4_4.0.1.01001. The SDT Project is created using command line parameters:

    -ccs.buildCommand "d:\ti projects\some ccsv4 test\some_ccsv4_test_ccse_build.bat"

    If I build it in fresh WS then it is all good. If I open build properties and just click OK then I get this error after build command:

    d:\ti projects\some ccsv4 test\m3\app\m3_app_ccse_build.bat N N N
    'd:\ti' is not recognized as an internal or external command,
    operable program or batch file.

    If I open build properties and force "d:\ti projects\some ccsv4 test\m3\app\m3_app_ccse_build.bat" with double quotes then build works again. It actually runs cleanall first but it is another problem

    Please contact me directly if you need additional details.

    Thanks,

    Eugene

     

  • Eugene,

    I did reproduce the issue with quotes getting lost for the build-command in the Build Properties dialog.  I've addressed this for CCSv4.1.

    I could not reproduce the issue with quotes in make-targets - the quotes are properly preserved there.  Make sure that in your makefile, the spaces in your make-targets are escaped with a backslash.

    The issue with a clean-all being run whenever you build a make-target has been resolved for CCSv4.1 as well.

    - Baltasar

  • Baltasar,

    The issue is there for make targets as well. Maybe it is not the same issue but strange Eclipse attitude toward double quotes is obvious. This is the test I performed. Open make targets view. Right click and select Add Make target. Enter build command with spaces within double quotes.  Click Create button. Re-open edit dialog for new target. Double quotes will be gone.

    Eugene