Just wanted to give a better description of my problem
(thanks in advance):
The source folders for my merged project have this structure:
\rh_projects
..\parent
..\projects
....\child1
....\child2
....\child3
I load each project and create Map IDs for CSH. We need to
use Map IDs, I can't use the URL technique Peter Grainge describes.
I make sure that each child project's map IDs start with a
different base number (e.g., child 1 starts with 1000, child2
starts with 2000). If I load and save each project, I get a .h file
in the main project and for *each* child project:
\rh_projects
..\parent
...BSSCDefault.h
..\projects
....\child1
.....BSSCDefault.h
....\child2
.....BSSCDefault.h
....\child3
.....BSSCDefault.h
The .h files look something like this (not real names, but
you get the idea):
For \parent:
<empty file>
For \child1:
#define child_1_topic_1 1000
#define child_1_topic_2 1001
For \child2:
#define child_2_topic_1 2000
#define child_2_topic_2 2001
For \child3:
#define child_3_topic_1 3000
#define child_3_topic_2 3001
When I generate and publish, I get the following directory
structure:
\rh_generate
..\mergedProjects
....\child1
....\child2
....\child3
..\whdata
..\whgdata
..\whxdata
(Same structure when you publish.)
If you try to test the output with the CSH Test tool at this
point, you won't be able to, because you're prompted for a .h file.
Generating does *not* copy any of the .h files to the output
folder...you have to do this manually. Well, I want to use the .h
files anyway, so that's OK. Question is, which files do I copy, and
where?
Since I was careful to keep the IDs unique in each project, I
decided to merge them into a single file and put it at the
\mergedProjects level:
\rh_generate
..\mergedProjects
...BSSCDefault.h
....\child1
....\child2
....\child3
..\whdata
..\whgdata
..\whxdata
This merged .h file looks like this:
#define child_1_topic_1 1000
#define child_1_topic_2 1001
#define child_2_topic_1 2000
#define child_2_topic_2 2001
#define child_3_topic_1 3000
#define child_3_topic_2 3001
I then fired up the CSH Test tool, selected the merged .h
file, and it *almost* works. Choosing any map ID shows the correct
topic, but not in the three-pane window. Instead, I see only the
topic with the "Show" link in the upper left corner. I want the
correct topic to appear in the three-pane window.
Any ideas?
-Greg