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

31st
Dec 2015
Christian Meier
@mkristian
Dec 31 2015 11:07
jruby-gradle/jruby-gradle-plugin#264
Christian Meier
@mkristian
Dec 31 2015 11:23
any idea what is wrong with the travis build ?
R. Tyler Croy
@rtyler
Dec 31 2015 15:18
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
@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
@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
@rtyler checking locally
Schalk W. Cronjé
@ysb33r
Dec 31 2015 17:08
@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
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
@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
I’m not going there either
R. Tyler Croy
@rtyler
Dec 31 2015 17:17
@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
haha
Blane Dabney
@raelik
Dec 31 2015 17:17
@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
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
maybe?
Christian Meier
@mkristian
Dec 31 2015 17:20
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
hm
Christian Meier
@mkristian
Dec 31 2015 17:24
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
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
runtime dependency?
Christian Meier
@mkristian
Dec 31 2015 17:28
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
:shipit:
Christian Meier
@mkristian
Dec 31 2015 17:35
running check locally right now - should have done this before PR but I was too optimistic
Blane Dabney
@raelik
Dec 31 2015 17:39
do you still need that exclusion if you change it to runtime?
Christian Meier
@mkristian
Dec 31 2015 17:40
let me see the artifact first before I speculate
Blane Dabney
@raelik
Dec 31 2015 17:41
right :D
Christian Meier
@mkristian
Dec 31 2015 17:42
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
the final base plugin jar?
Christian Meier
@mkristian
Dec 31 2015 18:00
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
heh
Christian Meier
@mkristian
Dec 31 2015 18:02
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
@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
@mkristian I can alway smeet you in London if you have time
R. Tyler Croy
@rtyler
Dec 31 2015 18:06
@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
@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
@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
nice
Schalk W. Cronjé
@ysb33r
Dec 31 2015 18:11
@rtyler awesome
Christian Meier
@mkristian
Dec 31 2015 18:11
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
now we need docs to be written in asciidoc :-}
R. Tyler Croy
@rtyler
Dec 31 2015 18:12
@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
travis is still failing :(
R. Tyler Croy
@rtyler
Dec 31 2015 18:13
@mkristian I'm only three hours into my workday, I have plenty of time
Christian Meier
@mkristian
Dec 31 2015 18:13
my year is about to breath its last breath
R. Tyler Croy
@rtyler
Dec 31 2015 18:14
heh