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.

Project not found in WorkSpace ???? But I can see it!!!

Other Parts Discussed in Thread: CCSTUDIO

Hi I am using a command line build for a project.

And I get this message ::

But I dont understand why.  If I ope the workspace I get this ::-

And I can build both projects by selecting them and right clicking BUILD etc...

Here is the bit of my batch file that makes the OUT file.

@echo.
@echo Step 1 : Build OUT File
C:\ti\ccsv6\eclipse\eclipsec -noSplash -data "workSpace" -application com.ti.ccstudio.apps.projectBuild -ccs.projects EverestDcDc -ccs.configuration 2802 -ccs.all
IF ERRORLEVEL 1 GOTO FAIL
copy %OUT% %REL%

Regards, Nick

  • Hi Nick,

    The only thing I can think of is that you are not using the same workspace folder in your batch file that you are using with CCS.

    I see you are passing in the workspace folder as "workSpace". Try passing in the full path of the workspace (ex: "C:\path\to\workSpace")

    Thanks

    ki

  • Hi,


    Not ideal to use full path-  I am trying to make a portable project. See below I have the batch files in the my root folder.

    WorkSpace, is the workspace folder. 

    EverestPrimaryDcSolar is one project folder (has ccs project folder and folders of source files) and

    EverestSecondaryDcSolar is the folder for the second project.

    (Two DSPs that talk to each other in a product).

    Note : I tried adding the -ccs.autoImport and it worked once.  Then stopped?!   Weird.

  • Thanks - the full path works BTW.

    @echo.
    @echo Step 1 : Build OUT File
    C:\ti\ccsv6\eclipse\eclipsec -noSplash -data "C:\Users\e4700319\Desktop\EverestMpptSolarCCSV5\WorkSpace" -application com.ti.ccstudio.apps.projectBuild -ccs.projects EverestDcDc -ccs.configuration 2802 -ccs.all
    IF ERRORLEVEL 1 GOTO FAIL
    copy %OUT% %REL%

  • Nicholas Parker said:

    Not ideal to use full path-  I am trying to make a portable project.

    I'm pretty sure the parameter needs a full path to the file. Perhaps you can do some batch file tricks using %CD% to avoid absolute paths doing something like:

    set WORKSPACE_DIR="%CD%\WorkSpace"

    @echo.
    @echo Step 1 : Build OUT File
    C:\ti\ccsv6\eclipse\eclipsec -noSplash -data %WORKSPACE_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects EverestDcDc -ccs.configuration 2802 -ccs.all
    IF ERRORLEVEL 1 GOTO FAIL
    copy %OUT% %REL%

  • Good suggestion! Thanks Ki-Soo