[GNC-dev] Issues with FOP - PDF generation
David T.
sunfish62 at yahoo.com
Fri Sep 14 10:27:36 EDT 2018
John,
> On Sep 14, 2018, at 10:11 AM, John Ralls <jralls at ceridwen.us> wrote:
>
>
>
>> On Sep 14, 2018, at 4:49 AM, D via gnucash-devel <gnucash-devel at gnucash.org> wrote:
>>
>> That seems odd; the install page at Apache says it's a java app, and installation consists of copying jar files. No mention of /usr/bin...
>>
>> Unfortunately, MacOS is different. Maybe John has advice for me...
>
> I build the docs for distribution on a Linux VM so I’ve never installed FOP directly on MacOS.
>
> The catch is the invocation of FOP: The instructions on the page you gave just copy jars to ~/Library/Java/Extensions and say to invoke it with
> java java org.apache.fop.cli.Main -fo
> pdf.make wants to just say “fop” so you need a to arrange for that with a two-line shell file
> #!/bin/sh
> java java org.apache.fop.cli.Main -fo $@
> named fop and somewhere on the path.
>
> Regards,
> John Ralls
Thanks for the info. I went the Brew route, which put the executable in /usr/local/bin for me.
David
More information about the gnucash-devel
mailing list