Need to be able to output PDF with different file names from single book and pom.xml file combo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Wishlist
|
Anne Gentle |
Bug Description
I'm debugging the install guide again, this time to get the PDF file name link correct for both outputs. Is there any way to either insert the processing instruction at build time with a variable in the pom.xml file or can I make two processing instructions in the book file, one for each output (apt and yum)?
The guide contains:
<?rax pdf.url=
The link will be wrong for either build, since the pom.xml file contains:
<move failonerror="false"
So I'll change the pom file for the quick fix to get the links correct, but I'm wondering if there's a way to ensure I know which PDF is which for web analytics tracking?
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
From David Cramer:
you can just set <pdfUrl> in your pom instead of in the processing instruction.
Set it to a different value in each <execution>. I'm not sure which
would win if you do it both in the PI and in the pom. I suspect the pom
would win.