OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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

1 actionable task: 1 executed
Mac-Pro:xqdoc2pdf lcahlander$ 

On Feb 14, 2019, at 11:39 AM, Norman Walsh <ndw@nwalsh.com> 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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]