Next in thread → Next in month →

Re: [docbook-apps] Re: How do I generate a PDF through the gradle DocBookTask

From
Loren Cahlander <>
Date
2019-02-14T16:49:25+00:00
ID
Thread
Re: [docbook-apps] Re: How do I generate a PDF through the gradle DocBookTask
I tried that and got:

Mac-Pro:xqdoc2pdf lcahlander$ vi build.gradle 

Mac-Pro:xqdoc2pdf lcahlander$ gradle myPdfDocument

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :myPdfDocument FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':myPdfDocument'.

> Duplicate option name: 'format'.

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 24s

1 actionable task: 1 executed

Mac-Pro:xqdoc2pdf lcahlander$ 

On Feb 14, 2019, at 11:39 AM, Norman Walsh <> wrote:

task myPdfDocument(type: DocBookTask) { // And tell the pipeline to validate with the schema option("schema", "https://docbook.org/xml/5.1/rng/docbook.rng") input("source", "document.xml") output("result", "output.fo") option("format", "print")}

Attachment:
signature.asc

Description: Message signed with OpenPGP
Next in thread → Next in month →