Target compile pulls too many topics

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
rjhoughton
Propeller Head
Posts: 25
Joined: Tue Mar 23, 2010 8:04 am
Location: Beaverton, OR

Target compile pulls too many topics

Post by rjhoughton »

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.
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: Target compile pulls too many topics

Post by lacastle »

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
rjhoughton
Propeller Head
Posts: 25
Joined: Tue Mar 23, 2010 8:04 am
Location: Beaverton, OR

Re: Target compile pulls too many topics

Post by rjhoughton »

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

Post by lacastle »

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.
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: Target compile pulls too many topics

Post by lacastle »

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).
definitely do the feature request. lots of people feel the same way and have probably done one too.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Target compile pulls too many topics

Post by LTinker68 »

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

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

Post by SteveS »

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
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Target compile pulls too many topics

Post by Andrew »

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

Post by rjhoughton »

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
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Target compile pulls too many topics

Post by Andrew »

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
I'm afraid I have no idea if it would work with TFS -- I don't know how TFS works.
Flare v6.1 | Capture 4.0.0
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Target compile pulls too many topics

Post by NorthEast »

rjhoughton wrote:How would the Global Project Linking work with TFS source control?
First set up a project import file, and choose which files to import from the other project.

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.
Post Reply