Madbuild Target In Nested Folder

This forum is for all Flare issues not related to any of the other categories.

Madbuild Target In Nested Folder

Postby TheBrittleTechWriter on Thu Jan 18, 2018 3:07 pm

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?
TheBrittleTechWriter
Propeller Head
 
Posts: 28
Joined: Wed Feb 15, 2006 12:58 pm
Location: Chicago, IL

Re: Madbuild Target In Nested Folder

Postby doc_guy on Thu Jan 18, 2018 3:26 pm

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
User avatar
doc_guy
Propellus Maximus
 
Posts: 1790
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West

Re: Madbuild Target In Nested Folder

Postby TheBrittleTechWriter on Thu Jan 18, 2018 4:11 pm

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.
TheBrittleTechWriter
Propeller Head
 
Posts: 28
Joined: Wed Feb 15, 2006 12:58 pm
Location: Chicago, IL


Return to Flare's General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests