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 app and options documentation

Other Parts Discussed in Thread: CCSTUDIO

Hi,

Can you point me to the documentation for all the available command-line com.ti.ccstudio.apps.* and their options (like -ccs.*)?  I started out at http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create, progressed to searching this forum to find tidbits here and there, but I would like to review what apps are available, their options, and documentation of their use, etc.  I am sure it is in the help somewhere, but cannot locate it, and I have probably just not searched the correct term.

Thanks,

Stephen

  • Hi Stephen,

    You can list of all the options (with a description) by running the command with the '-ccs.help' option. The reason it is not explicitly documented on the wiki is that new options are being added all the time so the wiki topic constantly got out of date. So instead of misleading people with out of date information, we encourage people to run the help for the command to get the latest list.

    Thanks

    ki

  • Thanks.  But how does one get a list of all available -application com.ti.ccstudio.apps.*?  I knew of only two (projectImport, projectBuild) until this morning when I found projectCreate in one of the forum posts.  What others are out there available for use?

    Stephen

  • All the commands for public use should be documented on the wiki you referenced. projectCreate is the first command listed on the wiki:

    http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create#Create_a_Managed_Make_Project

    ki

  • Thanks.  I guess I was confused by this forum post which made reference to runScript, and in my haste to create the OP, I used "projectCreate" as an example when I should have used "runScript" (my bad).  So, is "runScript" public?  If not, is there a way to get a list of other potentially useful private unsupported apps?

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/206430.aspx

    I could not find a way to pass loadti params via com.ti.ccstudio.apps.runScript

    com.ti.ccstudio.apps.runScript does take an option called -dss.rhinoArgs but the arguments passed on it are consumed by rhino instead of being passed to loadti script.

    @ ../../../DebugServer/../../eclipse/eclipse -nosplash -application com.ti.ccstudio.apps.runScript

    Stephen

     

  • Stephen Smith said:
    So, is "runScript" public?

    Sort of. runScript allows you to run a DSS javascript from the command line. But the proper way of calling your DSS javascript is via the dss.bat file (or dss.sh if on linux) which will then call runScript under the hood for you. So you don't really need to know about that command.

    Stephen Smith said:
    If not, is there a way to get a list of other potentially useful private unsupported apps?

    There really isn't any comprehensive list of the "hidden" commands. They were mainly designed for internal use. We didn't publicly document them for obvious reasons (support, etc).

    ki