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

15th
Sep 2015
R. Tyler Croy
@rtyler
Sep 15 2015 16:01
@ysb33r you happen to know of any effective means of tagging or otherwise organizing groups of spock tests?
R. Tyler Croy
@rtyler
Sep 15 2015 16:43
@mkristian does the embedded jetty start up a new servlet for each configuration?
or perhaps it's for each subproject
rtyler @rtyler is seeing multiple jetty server starts in this multiproject build
Christian Meier
@mkristian
Sep 15 2015 16:45
for each configured url there is one servlet. and for each "plugin" there is on jetty server
R. Tyler Croy
@rtyler
Sep 15 2015 16:45
interesting, then yes that does mean one server for each subproject
Christian Meier
@mkristian
Sep 15 2015 16:45
not sure how to "share" code between different instances of the plugin/subproject
i mean each subproject seems to have its own instance of the plugin
rtyler @rtyler nods
R. Tyler Croy
@rtyler
Sep 15 2015 16:47
I believe there's a way if you look at the rootProject
I'm not the expert here unfortunately
we can continue to improve this over time, I just found the behavior curious
Christian Meier
@mkristian
Sep 15 2015 16:47
if you add the repositories in the root project ?
R. Tyler Croy
@rtyler
Sep 15 2015 16:48
I'm more suggesting that the root project holds a single server with the multiple servlets
Christian Meier
@mkristian
Sep 15 2015 16:51
the server gets attached to bootclassloader. with a custom classloader class it can be found by other subprojects. but it is tricky - currently I start the server with all its servlets the first time I need it. . . .
I think before doing this we should look into how to get rid of jettty and access the "proxy" directly
R. Tyler Croy
@rtyler
Sep 15 2015 16:52
don't worry too much about it right now, let's get 1.1 out into the hands of users and then let's see
Christian Meier
@mkristian
Sep 15 2015 16:52
I do not - but getting rid of jetty was on my mind before.
rtyler @rtyler nods
R. Tyler Croy
@rtyler
Sep 15 2015 16:53
it's always on my mind ;)
:fire:
R. Tyler Croy
@rtyler
Sep 15 2015 17:03
@mkristian the reason that I asked btw, is that for an internal multiproject build, even when all the dependencies are up to date, we're still starting up three jetty servers to run an unrelated task :(
Christian Meier
@mkristian
Sep 15 2015 17:05
well, for gradle to decide on up to date it will ask the server to decide the up to dat astatus
Schalk W. Cronjé
@ysb33r
Sep 15 2015 17:08
@rtyler there might be a category annotation from junit4 that yoyuu can use
R. Tyler Croy
@rtyler
Sep 15 2015 17:09
@mkristian yep, it's just unfortunate that the performance penalty hits multiproject builds so hard
R. Tyler Croy
@rtyler
Sep 15 2015 17:19
@ysb33r I've seen that category annotation, I was hoping t ofind someting more analogous to RSpec or cucumber tags :(
categorize isn't rich enough IMO
R. Tyler Croy
@rtyler
Sep 15 2015 17:34
gargh, there doesn't seem to be a sane way to define a project property for a projectbuilder based test
R. Tyler Croy
@rtyler
Sep 15 2015 21:45
"Your proposal for RubyConf 2015 has not been accepted"
:fire:
lame
Charles Oliver Nutter
@headius
Sep 15 2015 21:45
:-(
needs more cowbell
R. Tyler Croy
@rtyler
Sep 15 2015 21:52
somebody actually commented on the proposal a long time ago so this isn't surprising
the way they phrased it really bothered me though