I was wondering if anyone know how the queue is ordered when you use a batch target?
I have recently updated my batch target to have 6 targets build at once, rather than the 2 I had before. However, I need one of the targets to build last, as it has a post-build event that takes the output from all the other targets and zips it up.
Unfortunately, that is the target that builds first. It wasn't a problem before, because it ran at the same time as the other one, but always finished after because it had more topics. Now that I have 6 targets, they get queued, and only 2 get built at once (I also can't find the location to change number of concurrent builds. Flare 2017 doesn't seem to have the File>Options menu as listed in the help...)
I thought that the order was alphabetically, so I decided to rename the build to "z-portal-target", which should in theory put it after "portal-target-2-7" for example. No such luck, it still was the first one to be built!
I have tried to be smart, and put a post-build event on another one of my targets, so that it can be built after that has finished. I used the following
Code: Select all
cd C:\Program Files\MadCap Software\MadCap Flare 13\Flare.app
madbuild -project $(ProjectDirectory)$(ProjectName) -target "Online Output/portal-target"
My issue is that because it does it behind the scenes, not in the build window, if something goes wrong with that build, I can't tell.
Is there either a way to get the post-build event to start the build and publish within the actual build window, or can I force the batch target to queue items in a certain order?
I would like to avoid having to run my batch target, then run the "portal-target" by itself afterwards. It defeats the point of a batch target!
Any help would be most welcome. I thought it would be a simple job... Which it was, except for ordering!