Hello all,
I am attempting to create a automated build batch file that publishes multiple documents to a specific folder (happy to share when it is done)... But the part that is causing me troubles is the madbuild target.
Goal: I need to specify where the PDF documents are automatically published but I keep getting "system cannot find the file specified". What am I doing wrong?
madbuild.exe -project D:\\Flare_Projs\\Explorer_QSG\\QSG_Explorer.flprj -target D:\\Flare_Projs\\output\\ -log true
Note: I also tried, "-target D:\\Flare_Projs\\output" and "-target D:\\Flare_Projs\\output\\test" with same error. I don't think I am understanding the -target option. Without the target option, madbuild successfully creates a pdf in the "D:\Flare_Projs\Explorer_QSG\Output\doc\MyBook" folder. But this is not what I want. I want all projects to output to "D:\Flare_Projs\output"
Note: Eventually I'll replace the explicit file name with %1 for project name and output name [do I need an output name] variable.
Madbuild madness
-
sdcinvan
- Propellus Maximus
- Posts: 1260
- Joined: Wed Aug 21, 2013 11:46 am
- Location: Vancouver, Canada
Madbuild madness
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback ... quest.aspx[/i]
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback ... quest.aspx[/i]
Re: Madbuild madness
I have never used an automated build so I'm not familiar with the syntax. BUT I know that if you want to specify where the documents are placed, you have to create a Destination.
So I would suggest: create a destination in your project that points to the location where you want the PDFs to be published. You will see a Destinations folder in your Project tree; this is where they are defined.
Then in your target file, on the Publishing tab, you select the Publish check box next to that Destination. (This may not sound very clear until you create a Destination, then it should be reasonably obvious.)
What I don't know is what syntax you use in the automated build to make this happen.
So I would suggest: create a destination in your project that points to the location where you want the PDFs to be published. You will see a Destinations folder in your Project tree; this is where they are defined.
Then in your target file, on the Publishing tab, you select the Publish check box next to that Destination. (This may not sound very clear until you create a Destination, then it should be reasonably obvious.)
What I don't know is what syntax you use in the automated build to make this happen.
-
sdcinvan
- Propellus Maximus
- Posts: 1260
- Joined: Wed Aug 21, 2013 11:46 am
- Location: Vancouver, Canada
Re: Madbuild madness
Thank you.whunter wrote:I have never used an automated build so I'm not familiar with the syntax. BUT I know that if you want to specify where the documents are placed, you have to create a Destination.
So I would suggest: create a destination in your project that points to the location where you want the PDFs to be published. You will see a Destinations folder in your Project tree; this is where they are defined.
Then in your target file, on the Publishing tab, you select the Publish check box next to that Destination. (This may not sound very clear until you create a Destination, then it should be reasonably obvious.)
What I don't know is what syntax you use in the automated build to make this happen.
Now I get it. Target is (in my example) MyBook.fltar. It isn't the "destination". So, I have a new concept to learn! Targets! I think this determines the kind of output file you get (in my case, pdf). Now I need to figure out how to modify the target and how to specify the 'Destination'.
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback ... quest.aspx[/i]
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback ... quest.aspx[/i]