Fix glossary in PdfBuilder pdfs. Remove glossary.uri cruft;

This commit is contained in:
dcramer
2012-10-30 13:40:56 -05:00
parent 47f0fe4e60
commit 55237e7a2a
3 changed files with 8 additions and 4 deletions

View File

@@ -318,7 +318,13 @@ public class PDFBuilder {
} catch (MalformedURLException e) {
getLog().warn("Failed to get FO basedir", e);
}
// Only set this here! Don't ever set in PdfMojo
transformer.setParameter("autoPdfGlossaryInfix","/..");
if(glossaryUri != null){
transformer.setParameter("glossary.uri", glossaryUri);
}
transformer.setParameter("branding", branding);
if(branding=="openstack") {