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.

com.ti.ccstudio.apps.projectImport problem

Other Parts Discussed in Thread: CCSTUDIO

from http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create I am trying to automate CCS builds

since everything must be retrieved from source control, my first task is to create a new workspace and import my projects. I extracted everything from source control and am trying to get CCS to import the projects using com.ti.ccstudio.apps.projectImport . but all I get is "!ERROR:  No valid Eclipse projects can be found at location "E:\Builds\PyrocamIV\UnitTests\Sources\workspace"!" when I run CCS, switch to the extracted project workspace, and import projects, I see all of my projects. 

here is the command line:

jre\bin\java -jar startup.jar -data "E:\Builds\PyrocamIV\UnitTests\Sources\workspace" -application com.ti.ccstudio.apps.projectImport -ccs.location "E:\Builds\PyrocamIV\UnitTests\Sources\workspace"

why is com.ti.ccstudio.apps.projectImport not working?

(and are the options right?  the options for Import a CCSv4 Project seem like a repeat of the options from the Build a Project section (with some white space so they are more readable...))

  • ah ha!  my problem was a misunderstanding about the -ccs.location option.  when I point to the project directory, rather than the workspace directory, then import works fine.

  • Hi,

    Do you have references about eclipsec.exe and the property options of com.ti.ccstudio, or more related references? I can't understand the command in the makefile file.

    There is part of the makefile:

    $(ECLIPSE_CMD)  
        -data "C:/Temp/workspace"
        -application com.ti.ccstudio.apps.projectCreate
        -ccs.name IMG_boundary_16s_66_LE_COFF
        -ccs.device com.ti.ccstudio.deviceModel.C6000.CustomC6000Device
        -ccs.endianness little
        -ccs.kind com.ti.ccstudio.managedbuild.core.ProjectKind_Executable
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCIMG_BOUNDARY_16S/IMG_boundary_16s_cn.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCIMG_BOUNDARY_16S/IMG_boundary_16s_d.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCIMG_BOUNDARY_16S/IMG_boundary_16s_idat.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCIMG_BOUNDARY_16S/IMG_boundary_16s_odat.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF/IMG_boundary_16s.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMON/IMG_profile.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMON/IMG_utility.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMON/IMG_memory.c
        -ccs.linkFile EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMONC66/lnk.cmd
        -ccs.setCompilerOptions "-mv6600 -k -mw --mem_model:data=far -g  -i../../../../../../../" @configurations Debug
        -ccs.setCompilerOptions "-mv6600 -k -mw --mem_model:data=far -o3 --symdebug:none  -i../../../../../../../" @configurations Release
        -ccs.location ./src/IMG_boundary_16s//c66//IMG_boundary_16s_66_LE_COFF
        -ccs.overwrite full
        -ccs.rts libc.a
        -ccs.cgtVersion $(CCSCGTVER)
        -ccs.outputFormat coff
        -ccs.definePathVariable EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF "$(IMGLIB_INSTALL_DIR)/ti/imglib/src/IMG_boundary_16s/c66"
        -ccs.definePathVariable EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCIMG_BOUNDARY_16S "$(IMGLIB_INSTALL_DIR)/ti/imglib/src/IMG_boundary_16s"
        -ccs.definePathVariable EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMON "$(IMGLIB_INSTALL_DIR)/ti/imglib/src/common"
        -ccs.definePathVariable EXT_ROOT__IMG_BOUNDARY_16S_66_LE_COFF_SRCCOMMONC66 "$(IMGLIB_INSTALL_DIR)/ti/imglib/src/common/c66"
        -ccs.setPostBuildStep $(quote)$${C6000_CG_ROOT}/bin/ar6x rq ../../../../../../../../lib/imglib.a66 IMG_boundary_16s.obj$(quote) @configurations Release

    Wenjie