Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marat Radchenko
    @slonopotamus
    You're using very old versions of both asciidoctorj and asciidoctorj-pdf from 2017. I'd first suggest moving to something more modern to see if the problem magically fixes itself.
    Majd Turfa
    @MajdT51_gitlab
    after updating i get this :(
    image.png
    Dan Allen
    @mojavelinux
    that's strange. it's trying to read from STDIO (or at least indicates that's what it's trying to do), and yet you are passing a File object. I wonder what is going on there.
    Abel Salgado Romero
    @abelsromero
    @MajdT51_gitlab I had no problems with your code and version, are you running inside some runtime like a webserver r OSGI?
    wait, did you also upgrade the jruby version?
    Abel Salgado Romero
    @abelsromero
    nevermind, my fault for not reading the whole text. SpringBoot has a custom classloader that requires some extra configuration when packaging asciidoctor/asciidoctorj#820, but still make sure you have an updated version of jruby
    Benjamin Marwell
    @bmarwell
    Can anyone help me with this please?
    diffplug/spotless#792 is the correct link
    Of course
    djencks
    @djencks
    @bmhm It's not obvious to me how this relates to asciidoctorj, or why you think spotless ought to lint xml since it's not AFAICT listed as a supported language. It's quite possible I'm being dumb....
    Benjamin Marwell
    @bmarwell
    No, I posted in the wrong channel because I am too stupid I am to use the gitter Android app correctly
    πŸ™ˆ
    Dan Allen
    @mojavelinux
    I was confused too, but always a good opportunity just to say hi back :wave:
    djencks
    @djencks
    If it's anything like the iphone gitter app, it might not be your fault :-)
    Benjamin Marwell
    @bmarwell
    The dark theme applied only to channel selection, the enter key switches forth and back between send and new line... No delete/etc on long press...
    Ask me why I like slack better
    Btw, the scms asciidoc integration is working fine now, thanks πŸ˜‰
    djencks
    @djencks
    Gitter is intolerable, but I'm allergic to slack :-)
    IRC + mailing lists :-)
    Dan Allen
    @mojavelinux
    we've already made the decision to move away from Gitter for Zulip. We're just waiting for an open time in our schedule to get it done.
    I've never enjoyed a minute in Slack, so it's not something we are considering. IMO, it's just a bloated mess.
    Benjamin Marwell
    @bmarwell
    don’t know it, but looks really nice!
    Dan Allen
    @mojavelinux
    indeed. and it's open source, which is a huge plus. several of our community members have already been testing it out with their own communities and the feedback has been very positive.
    Majd Turfa
    @MajdT51_gitlab
    Hi, I have a new Problem. Springboot, java11, Windows , could someone help?
    image.png
    Majd Turfa
    @MajdT51_gitlab
    And without the jruby-complete in pom i get this error
    image.png
    Guillaume Grossetie
    @Mogztter
    apparently isatty(I) method was added in jnr-posix 3.0.35 but you are using 3.0.33
    you can try to add an explicit dependency on jnr-posix 3.0.35 to force Maven to use this version (and potentially exclude the transitive version)
    mvn dependency:tree can help find which dependency is using jnr-posix
    Majd Turfa
    @MajdT51_gitlab
    thanks you , using jruby-core instead of jruby complete solved the problem. and -core include the 3.1.xx of jnr-posix @Mogztter
    Dan Allen
    @mojavelinux
    good to know! @abelsromero @robertpanzer I wonder if this info needs to go in the docs somewhere, or whether it is already covered.
    Robert Panzer
    @robertpanzer
    Interesting. Will check that
    Abel Salgado Romero
    @abelsromero
    Seems to me a usual case classpath hell. First, another dependency must be pulling and older version with a shorter path (Maven does not JUST pull the higher version in classpath, but higher version + short path from root tree). Then, depending on the order of the jars in the classpath, the app is using one class or another. You should study the dependencies as @Mogztter suggested and ensure only the right jnr-posix version is present. If you don't use certain jruby features, jruby-core is fine
    Majd Turfa
    @MajdT51_gitlab
    okay, thanks. today I come with another question
    When I use AsciiDocDirectoryWalker or GlobDirectoryWalker in my java editor(eclipse) my application starts and it works correctly. However, when I package my spring-boot application into a jar and start it in a docker container it gets stuck after "Scan start"
    image.png
    Abel Salgado Romero
    @abelsromero
    @MajdT51_gitlab Could you are mounting on path with lots of data (c:/) and is scanning the whole disk? If you can share the code or provide some reproducer on a GH repo it would also help
    Majd Turfa
    @MajdT51_gitlab
    thanks for the quick reply, I will try to provide the code in a GH repo.
    Abel Salgado Romero
    @abelsromero
    @MajdT51_gitlab I build something and can config that when I scan the root new GlobDirectoryWalke("/*/.adoc") it takes ages to run, and in other paths it's quick. So could depend on how you manage paths and volumes
    Majd Turfa
    @MajdT51_gitlab
    okay, thank you :)
    Abel Salgado Romero
    @abelsromero
    I uploaded my project with instructions, it explains how to deploy in a local k8s with life-reload and debugging, it may help you in your endevour https://github.com/abelsromero/asciiboot
    Dan Allen
    @mojavelinux
    nice job Abel!
    @abelsromero would you like to redirect the Asciidoctor Maven plugin page on asciidoctor.org to the new docs site? See what Guillaume did for Asciidoctor.js as an example: asciidoctor/asciidoctor.org#995
    Abel Salgado Romero
    @abelsromero
    We could update all Java docs that have been migrated, but I don't understand the dynamic redirect. We could just place the full url in https://github.com/asciidoctor/asciidoctor.org/blob/master/docs/index.adoc right? I see other links already do that
    Dan Allen
    @mojavelinux
    the dynamic redirect a) preserves existing bookmarks and b) tries to help those bookmarks find the right page or deep link. so it's just a nice thing to do for users who have been linking to that page. however, we could just do a plain old redirect to the start page in the docs site, sure
    I can tell you that if I hadn't done it for the user manual, people would be losing their minds ;)
    Abel Salgado Romero
    @abelsromero
    :+1:
    Dan Allen
    @mojavelinux
    @abelsromero Thanks for reaching out to Zulip again. I'm not sure why they are taking so long to get back to us. If they don't get back to us in a couple more days, perhaps we can just create the organization and get them to change the status later. That way we can begin working to get it set up.
    Abel Salgado Romero
    @abelsromero
    I am not worried about the time if they are really considering options for contributions. There's been a weekend and assume this message got forwared a couple of times maybe. Plus, we don't know how many people is working on support, last time it also took a few days. But you're right, let's give them some extra time and then proceed.