Multiple Subfolders for File Resources in SLD

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.
 
S

Sean Liming \(MVP\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top