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.

CCS/CCSTUDIO: Issue with project import from command line

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

I want to import the ccs project from command line. Below is the command i am using

"D:\ti\ccsv6\eclipse\eclipsec.exe" -nosplash –data "D:\Jenkins_OUT\workspace\" -application com.ti.ccstudio.apps.projectImport –ccs.location “d:\c2000_mcal\c2000-mcal-drivers-source\examples\driver”

I am getting the message "dvtLogOptions.xml DOES NOT exists" in command line and it freezes there. Also the CCS IDE opens at this point.

  • I am using CCS 6.2.0. The below is the complete list of error message that i got,

    log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.
    dvtLogOptions.xml DOES NOT exists
  • Baskaran Chidambaram said:
    I am getting the message "dvtLogOptions.xml DOES NOT exists" in command line and it freezes there. Also the CCS IDE opens at this point.

    Does this message appear when you import ANY project using command line? I suspect it may be an installation or system configuration issue as we have not heard of this error occurring before on Windows (there is another thread where a similar message occurs with Linux). Which OS are you running?

  • Hi,

    I am using windows. Actually the problem was with '\' at the end of workspace path - "D:\Jenkins_OUT\workspace\". It is working for "D:\Jenkins_OUT\workspace".

    You may consider updating the tool to take care of such cases automatically.

  • Baskaran,

    Baskaran Chidambaram said:
    Actually the problem was with '\' at the end of workspace path - "D:\Jenkins_OUT\workspace\". It is working for "D:\Jenkins_OUT\workspace".

    Thank you for coming back with this update and for narrowing down the issue. 

    I could "partially" reproduce this. I say partially because with CCS 6.2, when the workspace path has the "\" at the end, I see the following two lines however it does not freeze or bring up the GUI at that point.

    log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.


    I tried it out with CCSv7 and get a different error when the workspace path has the "\" at the end AND the path is enclosed in quotes. If the path is not enclosed with quotes it works fine regardless of whether the trailing backslash is there or not. So there is still an issue with that one use-case and I will file a bug report for that.

  • AartiG said:
    So there is still an issue with that one use-case and I will file a bug report for that.

    The tracking # for this issue is CCSIDE-3095.

  • Baskaran,

    Here is the explanation from the engineer on the reason for the error that appears in CCSv7 when there is a trailing backslash along with a quoted path:

    "The backslash causes Windows to escape the double-quote that follows it, and it treats the rest of the command as part of the '-data' flag's argument. To avoid this, either forward slashes should be used in the command, or all backslashes must be escaped using a second backslash.

    The quotes are still recommended, in case if the workspace location path contains spaces."


    Hope this helps explain.

  • Hi, I'm facing quite the same problem. And using \\ does not solve the problem.

    I'm using Code Composer Studio 6.2.0 on windows 10, and when I use the folowing command line:
    "C:\\ti\\ccsv6\\eclipse\\eclipsec.exe" -noSplash -data "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple\\CCS_workspace" -application\\CCS_workspace com.ti.ccstudio.apps.projectImport -ccs.location "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple-application"

    It returns:
    "log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.
    dvtLogOptions.xml DOES NOT exists"

    And it freezes there. Also the CCS IDE opens at this point.

    Do you have any solution for this issue?

    Cordially.
  • Hi,

    I'm facing quite the same problem. I'm using Code Composer Studio 6.2.0 on Windows 10

    When a try to use the following command:

    "C:\\ti\\ccsv6\\eclipse\\eclipsec.exe" -noSplash -data "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple\\CCS_workspace" -application\\CCS_workspace com.ti.ccstudio.apps.projectImport -ccs.location "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple-application"

    i'm getting:

    "log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.
    dvtLogOptions.xml DOES NOT exists"

    In command line and it freezes there. Also the CCS IDE opens at this point.

    Do you have any solution for this problem?

    Cordially

  • Is this the exact command line as you are using it? If so, the highlighted section below should not deleted.

    "C:\\ti\\ccsv6\\eclipse\\eclipsec.exe" -noSplash -data "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple\\CCS_workspace" -application\\CCS_workspace com.ti.ccstudio.apps.projectImport -ccs.location "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple-application"

  • Hi AartiG,

    Thanks for your answer, but unfortunatley the problem is still the same. CSS opens my project but the command prompt is still freeze on this state:

    C:\Users\a0h72440>"C:\\ti\\ccsv6\\eclipse\\eclipsec.exe" -noSplash -data "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple\\CCS_workspace" -application\\CCS_workspace com.ti.ccstudio.apps.projectImport -ccs.location "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple-application"

    log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.
    dvtLogOptions.xml DOES NOT exists

    It is therefor not possible to launch an other command in the command prompt.

    Another solution will be welcome.

  • There is a typo in your command. The text highlighted in Red below should not be there. Please delete that text and try again.

    C:\Users\a0h72440>"C:\\ti\\ccsv6\\eclipse\\eclipsec.exe" -noSplash -data "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple\\CCS_workspace" -application\\CCS_workspace com.ti.ccstudio.apps.projectImport -ccs.location "C:\\Users\\a0h72440\\Desktop\\Test\\AVCS1-SW-08-Sources_ADM1_5_exemple-application"