Target compile pulls too many topics
-
rjhoughton
- Propeller Head
- Posts: 25
- Joined: Tue Mar 23, 2010 8:04 am
- Location: Beaverton, OR
Target compile pulls too many topics
I have multiple targets and multiple TOCs.
The target I have an issue with is for a very small "password" help file.
Target: DotNetHelp
TOC: 6 topics
This target, when compiled, compiles the 6 topics into the applicable target. HOWEVER, it compiles *all* the help topics in the entire project (~2500 topics) and puts them in the output as well. They are only available if you look at the Index or Search tabs in the Help Viewer (they do NOT appear in the TOC), but they are there. It also extends the compile time from under a minute for 6 topics to 10 minutes for the whole shebang.
I am sure there is a line of code somewhere with the wrong reference, but I cannot find it.
Help! Any ideas where to look? I've viewed all the applicable files in the Internal text editor, looking for stray URL references to the wrong project files, but cannot find any.
The target I have an issue with is for a very small "password" help file.
Target: DotNetHelp
TOC: 6 topics
This target, when compiled, compiles the 6 topics into the applicable target. HOWEVER, it compiles *all* the help topics in the entire project (~2500 topics) and puts them in the output as well. They are only available if you look at the Index or Search tabs in the Help Viewer (they do NOT appear in the TOC), but they are there. It also extends the compile time from under a minute for 6 topics to 10 minutes for the whole shebang.
I am sure there is a line of code somewhere with the wrong reference, but I cannot find it.
Help! Any ideas where to look? I've viewed all the applicable files in the Internal text editor, looking for stray URL references to the wrong project files, but cannot find any.
-
lacastle
- Propellus Maximus
- Posts: 1028
- Joined: Thu Apr 12, 2007 7:28 am
- Location: Wilmington, DE
- Contact:
Re: Target compile pulls too many topics
Are you using conditions to separate your books?
Are you specifically excluding the topics that should not be included in the target?
this topic may help too - http://forums.madcapsoftware.com/viewto ... 90&p=53596
Are you specifically excluding the topics that should not be included in the target?
this topic may help too - http://forums.madcapsoftware.com/viewto ... 90&p=53596
Laura A. Castle
http://www.lauracastle.com
http://www.lauracastle.com
-
rjhoughton
- Propeller Head
- Posts: 25
- Joined: Tue Mar 23, 2010 8:04 am
- Location: Beaverton, OR
Re: Target compile pulls too many topics
My target is conditionalized.
My topic files are conditionalized for only that target.
Are you telling me I have to conditionalize the other 2500 topics to exclude them from the DotNetHelp? *thud*
If that's the way it has to be, I will - but I'm putting in a feature request to fix that. I should be able to do exactly what I've done (create a target, conditionalize it, conditionalize the topics that go into it, and not have to exclude everything else).
Rachel
My topic files are conditionalized for only that target.
Are you telling me I have to conditionalize the other 2500 topics to exclude them from the DotNetHelp? *thud*
If that's the way it has to be, I will - but I'm putting in a feature request to fix that. I should be able to do exactly what I've done (create a target, conditionalize it, conditionalize the topics that go into it, and not have to exclude everything else).
Rachel
lacastle wrote:Are you using conditions to separate your books?
Are you specifically excluding the topics that should not be included in the target?
this topic may help too - http://forums.madcapsoftware.com/viewto ... 90&p=53596
-
lacastle
- Propellus Maximus
- Posts: 1028
- Joined: Thu Apr 12, 2007 7:28 am
- Location: Wilmington, DE
- Contact:
Re: Target compile pulls too many topics
Yes, you have to condition the rest. if you open the file list (ctrl+shift+J), you can sort by condition and select the rest of the topics and apply the condition that way. it will probably take forever and might look like it's frozen, but it is quicker than doing each one individually.
Laura A. Castle
http://www.lauracastle.com
http://www.lauracastle.com
-
lacastle
- Propellus Maximus
- Posts: 1028
- Joined: Thu Apr 12, 2007 7:28 am
- Location: Wilmington, DE
- Contact:
Re: Target compile pulls too many topics
definitely do the feature request. lots of people feel the same way and have probably done one too.rjhoughton wrote:I should be able to do exactly what I've done (create a target, conditionalize it, conditionalize the topics that go into it, and not have to exclude everything else).
Laura A. Castle
http://www.lauracastle.com
http://www.lauracastle.com
Re: Target compile pulls too many topics
You can apply conditional tags at the folder level. So if you separate the DotNetHelp topics into one folder and all the other content is in other folders, then you just need to conditionalize the folders, which would be considerably faster than doing all the individual topics.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
SteveS
- Senior Propellus Maximus
- Posts: 2090
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Target compile pulls too many topics
I don't think I conditionalise 2000 topics...
Why not create a new project, import the 6 topics (and stylesheets etc) you need and use the original project as the master project?
HTH
Why not create a new project, import the 6 topics (and stylesheets etc) you need and use the original project as the master project?
HTH
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Re: Target compile pulls too many topics
Yep, that's what I'd do -- either that or Global Project Linking and grab the 6 topics you want (and any supporting stylesheets, graphics, etc.), depending on if I need the topics in the "master" project as well.SteveS wrote:I don't think I conditionalise 2000 topics...
Why not create a new project, import the 6 topics (and stylesheets etc) you need and use the original project as the master project?
HTH
Flare v6.1 | Capture 4.0.0
-
rjhoughton
- Propeller Head
- Posts: 25
- Joined: Tue Mar 23, 2010 8:04 am
- Location: Beaverton, OR
Re: Target compile pulls too many topics
How would the Global Project Linking work with TFS source control?
We have integrated the source control with Flare and Microsoft Team Foundation Server, so the deliverables from Flare are built automatically during the nightly build.
As for creating a folder for just these help topics, they are also in the main project as well (this is a specific "password help" file for customers).
I will try the creating a folder solution first...
Rachel
We have integrated the source control with Flare and Microsoft Team Foundation Server, so the deliverables from Flare are built automatically during the nightly build.
As for creating a folder for just these help topics, they are also in the main project as well (this is a specific "password help" file for customers).
I will try the creating a folder solution first...
Rachel
Re: Target compile pulls too many topics
I'm afraid I have no idea if it would work with TFS -- I don't know how TFS works.rjhoughton wrote:How would the Global Project Linking work with TFS source control?
We have integrated the source control with Flare and Microsoft Team Foundation Server, so the deliverables from Flare are built automatically during the nightly build.
As for creating a folder for just these help topics, they are also in the main project as well (this is a specific "password help" file for customers).
I will try the creating a folder solution first...
Rachel
Flare v6.1 | Capture 4.0.0
Re: Target compile pulls too many topics
First set up a project import file, and choose which files to import from the other project.rjhoughton wrote:How would the Global Project Linking work with TFS source control?
You can either re-import your linked files manually, or set the target to re-import them automatically each time the target is built.
Using TFS doesn't really affect the project import process, Flare will check-out the files which are updated during the re-import.