Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 11:10
    ysb33r commented #386
  • Nov 25 21:26
    rtyler commented #386
  • Nov 25 12:44

    ysb33r on release

    (compare)

  • Nov 25 12:25
    ysb33r labeled #386
  • Nov 25 12:25
    ysb33r milestoned #386
  • Nov 25 12:25
    ysb33r assigned #386
  • Nov 25 12:25
    ysb33r opened #386
  • Oct 21 21:52
    boris-petrov commented #385
  • Oct 21 21:15
    boris-petrov edited #385
  • Oct 21 20:18
    boris-petrov opened #385
  • Aug 19 16:08
    jdomingu commented #384
  • Aug 19 16:08
    jdomingu closed #384
  • Aug 15 15:42
    rtyler commented #384
  • Aug 15 01:01
    jdomingu opened #384
  • Aug 14 20:42
    amiracam commented #383
  • Aug 14 20:28
    ysb33r commented #383
  • Aug 14 19:23
    amiracam opened #383
  • Jun 27 13:57
    rtyler closed #380
  • Jun 27 13:57
    rtyler commented #380
jayjlawrence
@jayjlawrence
I am facing build failures and have no idea what to check
Like :
gradleTest.compatibilityTests.dsl.groovy.Self_executing_jarSpec > Self-executing-jar : Gradle 4.2 using dsl.groovy FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at Self_executing_jar.dsl.groovySpec.groovy:185
Schalk W. Cronjé
@ysb33r
@rtyler A bit more to me. I did reach out and someone is suppose to contact you directly.
@jayjlawrence I assume you are seeing that build failure from cloning the project and running the tests?
R. Tyler Croy
@rtyler
@ysb33r sounds great, thanks
@jayjlawrence do you have a specific project you're looking at integrating jruby-gradle with? Our war plugin is a little under-appreciated, and I've unfortunately not had many use-cases as of late which require creating wars specifically
Schalk W. Cronjé
@ysb33r
AH, the war has been lost to the container (I always wanted to say that)
R. Tyler Croy
@rtyler
heh
Schalk W. Cronjé
@ysb33r
Just ignore me :smile_cat:
R. Tyler Croy
@rtyler
:beer:
Schalk W. Cronjé
@ysb33r
I had of those already. If you can call a Corona that. I'm off to bed.
R. Tyler Croy
@rtyler
hah, toodles
jayjlawrence
@jayjlawrence
@rtyler yes I am after war creation ... I've had enough tangles with warbler to make me want to look elsewhere
@rtyer ... and bundler too - actually bundler has almost been the death of me
jayjlawrence
@jayjlawrence
From the readme ... "Use of this plugin replaces the need for rake, bundler and warbler" got my attention
R. Tyler Croy
@rtyler
heh
jayjlawrence
@jayjlawrence
not having a good first go at using jruby-gradle here
R. Tyler Croy
@rtyler
is the project public?
R. Tyler Croy
@rtyler
@jayjlawrence the channel is fine for discussion
the master branch is different than what's documented on the website because we're in the process of our 2.0 release, which is what's in master, but has not be released (except for an alpha)
jayjlawrence
@jayjlawrence
I'd be willing to do a bit of documentation work if you'd like - help smooth over the bumps for the noobs that will come along
R. Tyler Croy
@rtyler
documentation help is always appreciated!
I'm curious what your objective is for your own work here, it seems like you're trying to build jruby-gradle from source, rather than simply using a binary distribution
jayjlawrence
@jayjlawrence
I figured there wouldn't be too much competition there. Which branch is best to work on if I were to make some immediate edits?
Oh, I just grabbed the source and did a build like I would do on any app/library that I'd assess in more depth. There's often a thing here or there that might need to be tweaked to make it work just so. I'm sure you've been there yourself.
Also not really knowing how Gradel works - I didn't know I should have done it differently
R. Tyler Croy
@rtyler
the Gradle build system certainly allows for custom local plugins and things like that, but it's definitely a bit off the user-friendly path
jayjlawrence
@jayjlawrence
no kidding
R. Tyler Croy
@rtyler
JRuby/Gradle works very much how Gradle people might expect it to work, Rubyists will have a bit of a harder time because of the learning curve inherent in Gradle :/
jayjlawrence
@jayjlawrence
Never having used it, nor read a shred of docs on it, that gap needs to be bridged if Rubyists are to flock here (run from there?)
I've had one too many bundler meltdowns in my life
I've got a little webserver project that I want to see if I can jar it up successfully. Maybe this is a good article to write while I'm at it.
R. Tyler Croy
@rtyler
what deployment environment does your archive go into?
jayjlawrence
@jayjlawrence
I'm going to run on a Windows machine - so right now I'm just I'm just making a jar that bootstraps a bit of ruby for a Webrick server
Now that I want to add some dependencies and maybe use sinatra I need to get a bit more elaborate
R. Tyler Croy
@rtyler
so if you're using a ruby web server in the process, the jruby-gradle-jar-plugin is definitely a good fit, I wouldn't worry about wars at all
jayjlawrence
@jayjlawrence
What's good about a project like this is it is practical, there's not a zillion moving parts, and it would help others understand the underlying mechanisms (making a jar, dependency path resolution etc)
R. Tyler Croy
@rtyler
wars are very special java archives (jars) with silly metadata
jayjlawrence
@jayjlawrence
Yeah, my main deployment is under a tomcat as a war - I want to cut Tomcat out - it doesn't seem to provide any value.
R. Tyler Croy
@rtyler
https://github.com/jruby-gradle/jruby-gradle-plugin/tree/master/examples/self-executing-jar would be a good scaffold to start with, the 'gradleTest' type things in build.gradle can be removed since those are used only by our integration tests
that said, I don't have a Windows environment so things can get goofy, but we do have everything running in CI passing on Windows via AppVeyor
jayjlawrence
@jayjlawrence
I deploy to windows, try to avoid the stuff as much as possible otherwise
R. Tyler Croy
@rtyler
my day is coming to an end however, catch ya later :wave:
jayjlawrence
@jayjlawrence
Have a good one and thanks for the pointers. I'll circle back in the near future re edits
Blane Dabney
@raelik
The way I have mine set up is an 'artifact' jar, where it just contains jruby, my gems and my jar deps.
The jar itself executes as the ruby interpreter
Lets me keep all my project's Ruby files on the filesystem, and I set up wrapper scripts to run jRuby, or gem binaries like irb, puma, rspec, etc
Schalk W. Cronjé
@ysb33r
@rtyler we need to sort this issue with publishing the core plugin. I think we should change it so that plugins are published to portal directly and a backup published to Bintray.
Schalk W. Cronjé
@ysb33r
ping @rtyler :point_up: I am checking up what can be done to resolve this, but I suspect no more libraries can be added to Bintray and then sync'd to Gradle portal. We might have to publish directly there and also to Bintray.
Schalk W. Cronjé
@ysb33r