Multiple Subfolders for File Resources in SLD

  • Thread starter Thread starter Gabriel K.
  • Start date Start date
G

Gabriel K.

I remember reading that all of an application's files should be put into a
single folder and added to the SLD. However the program I'm componentizing
in Component Designer has multiple subdirectories and our program uses C/C++
to navigate to specific locations. So my question is..

Do we have to manually add a repository (all of which belong to a repository
set) for each folder in the subdirectory when adding files?

Thanks in advance.
 
For Target Designer to find files in the repository, the files need to be in
a flat directory. TD doesn't have the ability to look into subfolders in a
repository branch. During the build the files get copied to their specific
locations.

1. You could create a respository for each folder.

-or-

2. If similar file names are the issue, just set the source in the file
element to something else and rename the file. Leave the target anme the
same. When TD builds the image, the file will be renamed to the correct file
name.


--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
Back
Top