Madbuild Target In Nested Folder

This forum is for all Flare issues not related to any of the other categories.
Post Reply
TheBrittleTechWriter
Propeller Head
Posts: 28
Joined: Wed Feb 15, 2006 12:58 pm
Location: Chicago, IL
Contact:

Madbuild Target In Nested Folder

Post 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?
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Madbuild Target In Nested Folder

Post 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
Paul Pehrson
My Blog

Image
TheBrittleTechWriter
Propeller Head
Posts: 28
Joined: Wed Feb 15, 2006 12:58 pm
Location: Chicago, IL
Contact:

Re: Madbuild Target In Nested Folder

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