Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Abel Salgado Romero
    @abelsromero
    @bmhm about the docs, hope this does not sound like diverting the topic, but the Asciidoctorj is binding for the underlying Ruby implementation. In fact it runs it with with JRuby. In case of doubt you can check the docs, and they are now all unified, so if you search for any term you will see them
    by "check" I mean use the search option on the top https://docs.asciidoctor.org/. I know is not what you expected, but will help you. And honestly we cannot duplicate the same docs for all modules
    On the Antora topic, I feel you, Java developer here too, but in reality the only conflicting topic is if you really need to write an extension. Other than that you use Antora as a CLI, like you would use jbake or HuGo.
    James Elliott
    @brunchboy
    I was hesitant at first because of the node/js aspect as well (hardcore Clojure, former Java, still JVM dev here) but have absolutely loved what Antora gives me, and I run it as part of my build process and include the results in my jar files for embedded user guide servers, and it works wonderfully.
    Dan Allen
    @mojavelinux
    :+1:
    Robert Panzer
    @robertpanzer
    Oops, i thought at some point the bintray gradle plugin would become compatible again with current versions of gradle, and now i got a mail saying that bintray will be sunset on may 1st 😂 Looks like we have to dive into gradle publishing code again 😰
    Abel Salgado Romero
    @abelsromero
    These r the official guides https://central.sonatype.org/pages/ossrh-guide.html, but worries me more is people talking about sonatype being unrealiable
    James Elliott
    @brunchboy
    I’ve published a number of artifacts to Maven Central using sonatype for years now, and have never had reliability issues, for what one bit of anecdata is worth…
    djencks
    @djencks
    I can't find the message right now, but recently someone from Sonatype responded on an Apache list that although there have been a few short-term service glitches most of the "reliability" problems have been attempts to deploy artifacts that don't pass validation.
    Schalk W. Cronjé
    @ysb33r
    @robertpanzer we are just going to have to bite the bullet and publish straight to Sonatype. I assume that all older artifcats that got sync'd to maven central via bintray will be OK
    djencks
    @djencks
    IIUC once something is at maven central there's no way to remove it however much you might like to :-)
    Abel Salgado Romero
    @abelsromero
    @brunchboy I am all ears...got any example/guide?
    James Elliott
    @brunchboy
    @abelsromero the details are going to vary by project. I’m not sure mine is an ideal template for you because it is Clojure-centric. and the build is driven by leiningen configured by project.clj. The bit that runs Antora is at the end, and that embeds a copy of the user guide Antora site into the resources folder so it gets embedded in the jar (and is available when testing from loose classes/Clojure files). The source for the user guide site is in the doc folder, and it also gets built and published by Netlify for use outside the software, as long as you have an Internet connection (which will often not be the case while running the software in a stage performance context, which is why I also embed it).
    Abel Salgado Romero
    @abelsromero
    Every little bit help. And honestly I am seeing and amazing collaboration arround this thing that it feels amazing
    Dan Allen
    @mojavelinux
    :+1:
    love to hear that!
    Marat Radchenko
    @slonopotamus
    If you need a gradle-based example project that publishes to maven central via sonatype, I've got one.
    That particular project publishes since 2015. There were some issues in 2019 or 2020 for about a month (I forgot exactly) but for the rest of time, things Just Worked.
    Dan Allen
    @mojavelinux
    nice!
    one of the reasons we used bintray to publish in AsciidoctorJ is because, at the time, publishing to Nexus OSS with Gradle was a mess. I'm sure that is all in the past now.
    Robert Panzer
    @robertpanzer
    Thanks @slonopotamus, I’ll check that out
    Dan Allen
    @mojavelinux

    from the email about Bintray: "JFrog has a new free subscription tier that gives you the ability to manage and distribute artifacts"

    Why on Earth would we trust JFrog with another free subscription when they're taking Bintray offline on short notice without a clear and automated migration path?

    Robert Panzer
    @robertpanzer
    Fully agreed! I didn't even read that far tbh. The first few sentences already made me 😱 thinking about fiddling with Gradle and publishing again.
    Robert Panzer
    @robertpanzer
    That link is gold! I have to admit though that Gradle has become hard to understand for me, in particular trying to get a multi module project to work properly. It reminds me a lot of Bazel right now. 🤷 At least I already managed to get asciidoctorj-api uploaded to snapshots, so I'm on my way.
    Majd Turfa
    @MajdT51_gitlab
    HI I',m getting this error when I try to convert to pdf in my application (Windows10, Springboot with java 11). could someone help me and tell me which versions should i use or what should i do to solve the error ?
    /C:/Users/MyUser/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1:in `require':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) load error: psych -- java.lang.ExceptionInInitializerError: null
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
        at RUBY.require(/C:/Users/MajdTL/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)
        at RUBY.(root)(/C:/Users/MajdTL/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/2.0/yaml.rb:5)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
            <dependency>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctorj</artifactId>
                <version>1.5.5</version>
            </dependency>
            <dependency>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctorj-pdf</artifactId>
                <version>1.5.0-alpha.15</version>
            </dependency>
    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!