These are chat archives for jruby-gradle/jruby-gradle-plugin

31st
Dec 2015
Christian Meier
@mkristian
Dec 31 2015 11:07 UTC
jruby-gradle/jruby-gradle-plugin#264
Christian Meier
@mkristian
Dec 31 2015 11:23 UTC
any idea what is wrong with the travis build ?
R. Tyler Croy
@rtyler
Dec 31 2015 15:18 UTC
lemme look
@mkristian you're not seeing that failure locally I presume?
rtyler @rtyler checks out the PR locally
R. Tyler Croy
@rtyler
Dec 31 2015 15:19 UTC
@mkristian my first guess is that some transitive dependency is conflicting with Groovy
yeah, I see it with a clean build locally
just rm -rf build/ && ./gradlew compileGroovy
R. Tyler Croy
@rtyler
Dec 31 2015 15:58 UTC
@mkristian @ysb33r btw have either of you figured out if you'll be joining at FOSDEM this year?
Christian Meier
@mkristian
Dec 31 2015 17:05 UTC
@rtyler checking locally
Schalk W. Cronjé
@ysb33r
Dec 31 2015 17:08 UTC
@rtyler I’ve decided not to go. First three months of the year will be hectic for me
Christian Meier
@mkristian
Dec 31 2015 17:10 UTC
hmm this classchangederror is one of those nasty errors. let's see if I can dig up something
R. Tyler Croy
@rtyler
Dec 31 2015 17:16 UTC
@ysb33r that's too bad; I couldn't justify a trip to that ruby conf in south africa :P
Schalk W. Cronjé
@ysb33r
Dec 31 2015 17:16 UTC
I’m not going there either
R. Tyler Croy
@rtyler
Dec 31 2015 17:17 UTC
@ysb33r I travel from home -> LA (conf) -> Bruussels (conf) -> Mexico (work)
rtyler @rtyler feels like @ysb33r
Schalk W. Cronjé
@ysb33r
Dec 31 2015 17:17 UTC
haha
Blane Dabney
@raelik
Dec 31 2015 17:17 UTC
@mkristian yeah, it is a nasty one. Usually it's because you've got multiple versions of a class being loaded (i.e. one is in the classpath, another is in a jar)
R. Tyler Croy
@rtyler
Dec 31 2015 17:19 UTC
I wonder if it's because we're using the rubygems 0.2 inside of our own build.gradle stuff
Blane Dabney
@raelik
Dec 31 2015 17:20 UTC
maybe?
Christian Meier
@mkristian
Dec 31 2015 17:20 UTC
that is the first thing I looked, but the rubygems-0.2.3 is war and adding this to the classloader has no effect
and all its dependencies I excluded - for the reason to avoid double loaded classes
R. Tyler Croy
@rtyler
Dec 31 2015 17:21 UTC
hm
Christian Meier
@mkristian
Dec 31 2015 17:24 UTC
and ./gradlew dependencies looks ok. but heh - any crazy thought is welcome :)
rtyler @rtyler tries to think crazy thoughtrs
Christian Meier
@mkristian
Dec 31 2015 17:26 UTC
so the whole thing compiles when I remove the rubygems-0.2.3 dependency
I need this dependencies only to have the war inside the gradle cache so I can pick to deploy the embedded jetty server
maybe there is a way around having this as compile dependency
Schalk W. Cronjé
@ysb33r
Dec 31 2015 17:28 UTC
runtime dependency?
Christian Meier
@mkristian
Dec 31 2015 17:28 UTC
sounds straight forward - let me try
so the obvious is sometimes the most difficult to see :)
@ysb33r thanx !!!!
R. Tyler Croy
@rtyler
Dec 31 2015 17:34 UTC
:shipit:
Christian Meier
@mkristian
Dec 31 2015 17:35 UTC
running check locally right now - should have done this before PR but I was too optimistic
Blane Dabney
@raelik
Dec 31 2015 17:39 UTC
do you still need that exclusion if you change it to runtime?
Christian Meier
@mkristian
Dec 31 2015 17:40 UTC
let me see the artifact first before I speculate
Blane Dabney
@raelik
Dec 31 2015 17:41 UTC
right :D
Christian Meier
@mkristian
Dec 31 2015 17:42 UTC
yes, the artifact is not correct. the war is complete and does not need anything else. but the artifact has one dependency to nexus-ruby-tools. I will see if I can make this provided.
in this sense it is better to keep the exclusion since those extra dependencies could interfere with the plugin
as it comes with jruby-complete or jruby main artifact as transitive one
hmm not so easy to get rid of this nexus-ruby-tools dependency in the final artifact
R. Tyler Croy
@rtyler
Dec 31 2015 17:58 UTC
the final base plugin jar?
Christian Meier
@mkristian
Dec 31 2015 18:00 UTC
no improve the rubygems-0.2.x artifact so it does not expose the nexus-ruby-tools as dependency. I did find a little hack to do it. but this is more cosmetic for the next version.
so travis is half green now :)
R. Tyler Croy
@rtyler
Dec 31 2015 18:01 UTC
heh
Christian Meier
@mkristian
Dec 31 2015 18:02 UTC
not sure - going to restart this job as it could be a timing problem
rtyler @rtyler nods
Christian Meier
@mkristian
Dec 31 2015 18:05 UTC
@rtyler I might come to bruessels spontanously but not planned right now. Sanuka is here and next week we are in hamburg and then I bring him back to the UK - loads of traveling already in december and january for me
Schalk W. Cronjé
@ysb33r
Dec 31 2015 18:06 UTC
@mkristian I can alway smeet you in London if you have time
R. Tyler Croy
@rtyler
Dec 31 2015 18:06 UTC
@mkristian understood, I will be fairly busy during FOSDEM whether I want to be or not
I have an event each day friday through monday :(
Christian Meier
@mkristian
Dec 31 2015 18:08 UTC
@ysb33r do have my travel arrangements already but every 15 month I go the UK, either visit Sanuka or pick him or bring him to his school. next time we could meet :)
R. Tyler Croy
@rtyler
Dec 31 2015 18:09 UTC
@ysb33r btw I pushed the awestruct-based version of https://jenkins-ci.org live
it's using jruby/gradle and awestruct to build the site \o/
Christian Meier
@mkristian
Dec 31 2015 18:09 UTC
nice
Schalk W. Cronjé
@ysb33r
Dec 31 2015 18:11 UTC
@rtyler awesome
Christian Meier
@mkristian
Dec 31 2015 18:11 UTC
torquebox/rubygems-servlets@aea174a does remove the nexus-tools dependency. shall I release this or are we postpone this for the next round ?
Schalk W. Cronjé
@ysb33r
Dec 31 2015 18:12 UTC
now we need docs to be written in asciidoc :-}
R. Tyler Croy
@rtyler
Dec 31 2015 18:12 UTC
@ysb33r my next blog post jenkins-infra/jenkins.io#16 is in asciidoc, the docs will slowly start to be moved into asciidoc I'm sure :)
@mkristian I'm fine with waiting for that to be released
Christian Meier
@mkristian
Dec 31 2015 18:13 UTC
travis is still failing :(
R. Tyler Croy
@rtyler
Dec 31 2015 18:13 UTC
@mkristian I'm only three hours into my workday, I have plenty of time
Christian Meier
@mkristian
Dec 31 2015 18:13 UTC
my year is about to breath its last breath
R. Tyler Croy
@rtyler
Dec 31 2015 18:14 UTC
heh