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?
Madbuild Target In Nested Folder
-
- Propeller Head
- Posts: 28
- Joined: Wed Feb 15, 2006 12:58 pm
- Location: Chicago, IL
- Contact:
-
- Propellus Maximus
- Posts: 1979
- Joined: Tue Nov 28, 2006 11:18 am
- Location: Crossroads of the West
- Contact:
Re: Madbuild Target In Nested Folder
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:
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:
or even
Code: Select all
"C:\Program Files\MadCap Software\MadCap Flare 13\Flare.app\madbuild.exe" -project "C:\path\ProjectName.flprj" -batch JenkinsTargets
Code: Select all
madbuild -project "c:\MyProject\Project.flprj" -target "ExampleA\TextTarget"
Code: Select all
madbuild -project "c:\MyProject\Project.flprj" -target ExampleA\TextTarget
-
- Propeller Head
- Posts: 28
- Joined: Wed Feb 15, 2006 12:58 pm
- Location: Chicago, IL
- Contact:
Re: Madbuild Target In Nested Folder
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.
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.