.project file syntax: <locationURI> and PARENT-4-PROJECT_LOC

Hi,

I would like to ask about .project file of ccsv5.

In studying the organization of OMAP L138 starterware, I found that some of its graphic library (grlib) have .project file containing:

----------------------------------------

Find 'PARENT-4-PROJECT_LOC' in 'C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project':

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(87):    <locationURI>PARENT-4-PROJECT_LOC/grlib/canvas.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(92):    <locationURI>PARENT-4-PROJECT_LOC/grlib/checkbox.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(97):    <locationURI>PARENT-4-PROJECT_LOC/grlib/circle.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(102):    <locationURI>PARENT-4-PROJECT_LOC/grlib/container.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(107):    <locationURI>PARENT-4-PROJECT_LOC/grlib/context.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(112):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm12.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(117):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm14.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(122):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm18.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(127):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm20.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(132):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm22.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(137):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm22i.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(142):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm24.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(147):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm26b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(152):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcm34b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(157):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcmss18.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(162):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcmss18b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(167):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcmss20b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(172):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcmss22b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(177):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontcmss38b.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(182):    <locationURI>PARENT-4-PROJECT_LOC/grlib/fonts/fontfixed6x8.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(187):    <locationURI>PARENT-4-PROJECT_LOC/grlib/image.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(192):    <locationURI>PARENT-4-PROJECT_LOC/grlib/imgbutton.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(197):    <locationURI>PARENT-4-PROJECT_LOC/grlib/line.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(202):    <locationURI>PARENT-4-PROJECT_LOC/grlib/listbox.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(207):    <locationURI>PARENT-4-PROJECT_LOC/grlib/offscr16bpp.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(212):    <locationURI>PARENT-4-PROJECT_LOC/grlib/offscr1bpp.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(217):    <locationURI>PARENT-4-PROJECT_LOC/grlib/offscr4bpp.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(222):    <locationURI>PARENT-4-PROJECT_LOC/grlib/offscr8bpp.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(227):    <locationURI>PARENT-4-PROJECT_LOC/grlib/pushbutton.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(232):    <locationURI>PARENT-4-PROJECT_LOC/grlib/radiobutton.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(237):    <locationURI>PARENT-4-PROJECT_LOC/grlib/rectangle.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(242):    <locationURI>PARENT-4-PROJECT_LOC/grlib/slider.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(247):    <locationURI>PARENT-4-PROJECT_LOC/grlib/string.c</locationURI>

C:\ti\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\grlib\.project(252):    <locationURI>PARENT-4-PROJECT_LOC/grlib/widget.c</locationURI>

Found 'PARENT-4-PROJECT_LOC' 34 time(s).

Search complete, found 'PARENT-4-PROJECT_LOC' 34 time(s). (1 file(s)).

I have some questions:

1.    Is PARENT-4-PROJECT_LOC an environment variable? I didn’t find it in the CCS Build environment variable list by opening the properties window of the project.

2.    Is <locationURI> an XML tag, and is .project file essentially of XML format? And where does <locationURI> refer to?

 

 

Zheng

  • Hello,

    Zheng Zhao
    Is PARENT-4-PROJECT_LOC an environment variable? I didn’t find it in the CCS Build environment variable list by opening the properties window of the project.

    It is likely an internal linked resource path variable

    Zheng Zhao
    Is <locationURI> an XML tag

    yes

    Zheng Zhao
    is .project file essentially of XML format?

    yes

    Zheng Zhao
    And where does <locationURI> refer to

    It is the path/location to the file

    Thanks

    ki