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.

AM2432: how to do auto Import project using eclipsec

Part Number: AM2432
Other Parts Discussed in Thread: CCSTUDIO

Hi Expert,

I am trying to build my project in the command line using the "eclipsec" command as below,

eclipsec -noSplash -data "C:\git\bcs_repo_15" -application com.ti.ccstudio.apps.projectBuild -ccs.projects BCS -ccs.configuration Debug

But, I found the error below,

C:\git\bcs_repo_15>eclipsec -noSplash -data "C:\git\bcs_repo_15" -application com.ti.ccstudio.apps.projectBuild -ccs.projects BCS -ccs.configuration Debug

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Wed Mar 23 16:38:01 PDT 2022]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

================================================================================
Pre processing...


!WARNING: Project 'BCS' was not found in the workspace! Ignoring...
    NOTE: use the '-ccs.autoImport' argument to automatically import projects found in the workspace root directory.


================================================================================
Building...



================================================================================
CCS headless build complete! 0 out of 0 projects have errors.

From error, I think BCS project need to be imported automatically, but not sure how to that.

Could you let me know how to auto Import project using eclipsec?

Regards,

Moonil

  • Hello Moonil.

    The "BCS" project  has not been previously imported to the specified workspace folder. Where is the "BCS" project folder? Is it in  the  "C:\git\bcs_repo_15" workspace folder? If so, then you can simply add the -ccs.autoImport option to the command:

    > eclipsec -noSplash -data "C:\git\bcs_repo_15" -application com.ti.ccstudio.apps.projectBuild -ccs.autoImport -ccs.projects BCS -ccs.configuration Debug

    Thanks

    ki

  • Hello Ki,

    I have the BCS project in my "C:\git\workspace" folder and facing the same issue as above. I tried using the below mentioned command and the result seems to be the same. 


  • C:\ti\ccs1110\ccs\eclipse>eclipsec -noSplash -data "C:\git\workspace" -application com.ti.ccstudio.apps.projectBuild -ccs.autoImport -ccs.projects BCS -ccs.configuration Debug
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    CCS headless build starting... [Thu Mar 24 13:07:15 PDT 2022]
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    ================================================================================
    Pre processing...
    
    !WARNING: Project 'BCS' was not found in the workspace! Ignoring...
    
    ================================================================================
    Building...
    
    
    
    ================================================================================
    CCS headless build complete! 0 out of 0 projects have errors.
    
    C:\ti\ccs1110\ccs\eclipse>
    
    
    

  • If your project folder is C:\git\workspace\BCS" and contains a valid CCS project, then that command should work. I'm not sure why CCS is not finding it. Perhaps try explicitly import the project first with the projectImport command:

    https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html#import-an-existing-ccs-project

    Thanks

    ki