Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizer fails to run on Windows #527

Open
1 of 3 tasks
Cattlesquat opened this issue Apr 15, 2021 · 9 comments
Open
1 of 3 tasks

Optimizer fails to run on Windows #527

Cattlesquat opened this issue Apr 15, 2021 · 9 comments
Labels

Comments

@Cattlesquat
Copy link

  • Bug report
  • Feature request
  • Question

Description
Please see: asciidoctor/asciidoctor-pdf#1790

They fixed this in October, but that was right after your last release.

All of our maven builds are failing for all of our devs on Windows, when they get to the asciidoctor step. No amount of wrestling with paths & environment variables, etc, has been any help.

Environment information

  • asciidoctor-maven-plugin version: 2.1.0
  • asciidoctorj version: ___
  • Maven, Java and OS version:
    Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
    Maven home: C:\Users\Brian Reynolds.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3
    Java version: 15, vendor: AdoptOpenJDK, runtime: C:\Program Files\AdoptOpenJDK\jdk-15.0.0.36-hotspot
    Default locale: en_US, platform encoding: Cp1252
    OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
@abelsromero
Copy link
Member

abelsromero commented Apr 15, 2021

Have you tried overriding with the latest Asciidoctorj & jruby versions like here https://github.com/asciidoctor/asciidoctor-maven-examples/blob/70d6a34c6d2df2c94ea3206f8495c7239eb738b2/asciidoctor-pdf-example/pom.xml#L35-L45.

Not that it requires much effort, but alognside the Asciidoctorj team we try to keep things compatible so the maven-plugin can use newer versions. If the problem persists I see in the docs https://github.com/asciidoctor/asciidoctor-pdf#rghost that the path to the command can be set in an environment variable.

If none of this works, I can try to build a test, but if you can provide some reproducable with minimla instructions would help a lot.

@abelsromero
Copy link
Member

If none of this works, I can try to build a test, but if you can provide some reproducable with minimla instructions would help a lot.

Of course if the repos are public, just feel free to point me to them too.

@uckelman
Copy link

The repo in question is here: https://github.com/vassalengine/vassal

@Cattlesquat
Copy link
Author

mvnw install -pl vassal-doc

In the repo quoted above, that's an example command that would just attempt the asciidoc part of the build.

@Cattlesquat
Copy link
Author

I have tried various environment variable attempts such as:
set GS="C:\Program Files\gs\gs9.54.0\bin\gswin64c.exe"
With no luck, although typing %GS% at the command line with that set does launch GS

@mojavelinux
Copy link
Member

mojavelinux commented Apr 15, 2021 via email

@Cattlesquat
Copy link
Author

Okay thanks. I guess probably asciidoc builds by our linux devs until then :D

@uckelman
Copy link

Thanks for your help. Any idea when we could expect that release?

@mojavelinux
Copy link
Member

As soon as I can get around to wrapping up the issues. I'm likely going to push out on alpha in the new few weeks so at least there is something to start testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants