Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Tako Schotanus
    @quintesse
    yo :-)
    Max Rydahl Andersen
    @maxandersen
    jshell is now useful again !
    now I wanna add support for doing jbang --deps bla:blah:3.2 -i
    Tako Schotanus
    @quintesse
    wdym? we can do that right now, can't we?
    ah, -i
    doesn't that work?
    Max Rydahl Andersen
    @maxandersen
    well its --interactive now and it requries at least one file
    Tako Schotanus
    @quintesse
    aha, I understand
    Max Rydahl Andersen
    @maxandersen
    @quintesse you ok with jbangdev/jbang#1232 and my updates?
    i might revert the public modifer thing he did but doesn't bother me enough yet :)
    Tako Schotanus
    @quintesse
    YEah, was thinking the same. Seemed like an unnecessary change
    And the method should probably be renamed now
    Something like plain useTemplateProperties() instead of useTemplatePropertiesIfAllowed()
    Max Rydahl Andersen
    @maxandersen
    good point - fixing that and bring back isolation
    Max Rydahl Andersen
    @maxandersen
    thtats weird -tag failed but main built...
    too late for y brain to fix that :) will look tomorrwo
    ./karate jsh.feature fails ...werid
    Tako Schotanus
    @quintesse
    It does? Hmmm it worked when I tested it today (I added 2 more tests)
    Ah no, it seems to fail because it doesn't expect any output, but the first time it will actually print out Resolving dependencies...
    That test should probably just make sure the exit code is 0 and nothing more
    Max Rydahl Andersen
    @maxandersen
    @quintesse unfortunately it seems when noclassdeffound errror occurs it still exit with 0
    Tako Schotanus
    @quintesse
    Not sure I understand? There should not be a noclassdeffound
    Tako Schotanus
    @quintesse
    The releases seem a bit weird. The latest "proper" release is v0.88, then I see a v0.87 in draft and a v0.89.1 patch release without a description and also no v0.89.0 release? Did something go wrong?
    Max Rydahl Andersen
    @maxandersen
    i wrote a test that test for exit code 0
    it passes with both broken and fixed jbang
    changed test to check stderr instead.
    had to do 0.89.1 as 0.89.0 failed the tag release test run
    0.87.2 was old draft that never got out
    Galder Zamarreño
    @galderz
    Is this chat still being used? Or should I ask things on discussions?
    @maxandersen @quintesse ^ ?
    Max Rydahl Andersen
    @maxandersen
    We are still here but yeah discussions are better.
    Tako Schotanus
    @quintesse
    Yeah here :-)
    Iwan Aucamp
    @aucampia
    I'm trying to get native image to work for a maven coordinate, but it does not work: https://gist.github.com/aucampia/77c5809fc044287050e684590e4ac6ca
    This is what I run: jbang run --fresh --native --verbose --main arq.sparql --deps='org.slf4j:slf4j-simple:1.7+' 'org.apache.jena:jena-cmds:4+' --version
    Max Rydahl Andersen
    @maxandersen
    Hmm. Open issue please. Looks like jbang bug
    Iwan Aucamp
    @aucampia
    Okay, opening
    jbang is awesome though
    Wish I knew it existed earlier
    actually, I'm not sure this is a bug
    I think it is a missing feature
    I think it is looking for native image in maven repo, and not finding it
    and then consequently not running the native image
    Max Rydahl Andersen
    @maxandersen
    Aah - you are trying native on a jar directly. Yeah that might be missing feature.
    Happy you like it despite not doing what you want (yet) :smile:
    tivrfoa
    @tivrfoa_twitter

    Hi folks,

    How are you doing?!

    Is it possible to reference a generated class? https://stackoverflow.com/questions/72795137/first-mvn-compile-fails-to-find-generated-sources

    Like:
    @SomeAnnotation // creates class Generated
    int value;

    Then in the same class I use the generated class:
    Generated g = ...

    I'm able to do it, but I have to run mvn compile twice :/
    And if I do clean it will fail again ...

    Max Rydahl Andersen
    @maxandersen
    Not following ? Mvn ?
    tivrfoa
    @tivrfoa_twitter
    Yes. I also tried with javac -proc:only but it tries to compile the classes anyway.
    Max Rydahl Andersen
    @maxandersen
    Still don’t understand. Annotation processing works with jbang.
    Got example abd steps to reproduce the failure ?
    Max Rydahl Andersen
    @maxandersen
    @tivrfoa_twitter did you find a solution?