Page 1 of 1

Madbuild Target In Nested Folder

Posted: Thu Jan 18, 2018 3:07 pm
by TheBrittleTechWriter
How do specify a target file in a path other than the default?

For instance, if the path were (from the project folder) as "Project\Targets\ExampleA\TextTarget.fltar", I'd think it'd be:

madbuild -project "c:\MyProject\Project.flprj" -target "ExampleA\TextTarget.fltar"

But nothing like that seems to work.

How do you specify this?

Re: Madbuild Target In Nested Folder

Posted: Thu Jan 18, 2018 3:26 pm
by doc_guy
My targets are in folders, but I use a batch target to build multiple targets at the same time. Here is the command I run:

Code: Select all

"C:\Program Files\MadCap Software\MadCap Flare 13\Flare.app\madbuild.exe" -project "C:\path\ProjectName.flprj" -batch JenkinsTargets
I know it doesn't directly answer your question. I would have assumed you are doing it the right way. The only thing I'd point out is that Flare doesn't seem to want the extension on the target file. Have you tried:

Code: Select all

madbuild -project "c:\MyProject\Project.flprj" -target "ExampleA\TextTarget"
or even

Code: Select all

madbuild -project "c:\MyProject\Project.flprj" -target ExampleA\TextTarget

Re: Madbuild Target In Nested Folder

Posted: Thu Jan 18, 2018 4:11 pm
by TheBrittleTechWriter
Thanks for the confirmation!

The key is that it uses a forward slash, not a back slash:

[code]madbuild -project "c:\MyProject\Project.flprj" -target "ExampleA/TextTarget"[/code]

at least from the Windows command line interpreter.