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.

Linking files with command Line project creation using CCS4

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am trying to create a project  using command line utility as found in http://tiexpressdsp.com/index.php/Projects_-_Command_Line_Build/Create.

I have an issue with using -ccs.linkFile option. With ccs v4.0.0.16000; I could specify multiple files to be linked to the project in the same linkFile option.

For eg: my script has line like:

jre/bin/java -jar "${CCS4_DIR}"/eclipse/startup.jar -data "c:/workspace"  -application com.ti.ccstudio.apps.projectCreate -ccs.name test1 ........

-ccs.linkFile file1 file2 file3 file4 etc..

The project then was created and all files (file1, file2, file3,..) were linked to the project.

But with ccs v4.1.0.02006; with the same script; only file1 is linked to the project.

And if I want to link other files; I have to explicitly specify each one with -ccs.linkFile file2 -ccs.linkFile file3 etc..

Have any one noticed this change from v4.0 to 4.1? Is this an intentional change?

Thanks and Regards,

Meena

 

  • Hi,

    Any input on this?

    Meena

  • I believe that having to specify each file with the option is the expected behavior. In earlier releases you could using the option once and then specify multiple files with it. This was unintended behavior that was corrected in the latest release.

    Thanks

    ki

  • I've opened an enhancement to add support for this in a future release - SDSCM00035313 Headless project-create: allow specifying multiple files with the copyFile and linkFile flags.

    I could not reproduce the described 4.0 behaviour in CCSv4.0.2.  As Ki mentioned, if it ever worked that way, it was unintended.  The command documentation never suggested that multiple files are accepted for the -ccs.copyFile/-ccs.linkFile flags.

    Thanks,

    - Baltasar

  • Hi Baltasar, Ki,

    Thanks for the information.

    Regards,

    Meena

  • Hi Folks,

    Couple of more questions on command line project creation:

    1. Is it possible to specify -ccs.args options recursively? I am able to use multiple files having project creation options from the main command line using -ccs.args file1 ccs.args file2 etc.. Is it posiible to spcify -ccs.args file3 in file options? I am getting some error when I try to use like so. Wanted to know if specifying argument files recursively is supported or not?

    2. What's the way to specify xdctools option? How do I specify --xdcpaths option while creating project?

    3. When I include library files with -l option, what's the order in which they appear in the project? I have --priority set and I want the projects to appear in priority as from top lib1

    lib2

    lib3

    When I use -l lib1 -l lib2 -l lib3 -i lib1searchpath -i lib2searchpath -i lib3searchpath; they appear in below order:

    lib3

    lib1

    lib2

    How do I get my desired order?

    lib3 is rts6740.lib and lib2 is rts library from ROM. I have specified rt6740.lib as run time support library. Is this related to that anyways?

    Thanks in advanced for your support,

    Regards,

    Meena