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

27th
Sep 2017
Schalk W. Cronjé
@ysb33r
Sep 27 2017 11:44
Heads-up: I am hacking on JRuby-Gradle today in order to get it to work with Gradle 4.x + latest GradleTest.
Schalk W. Cronjé
@ysb33r
Sep 27 2017 13:00

I keep on getting this failure

Caused by: org.gradle.api.UncheckedIOException: Could not GET 'http://localhost:56465/http_rubygems-proxy_torquebox_org/caching/maven/releases/rubygems/a/maven-metadata.xml'. Received status code 500 from server: javax.servlet.http.HttpServletRequest.isAsyncStarted()Z
    at org.gradle.internal.resource.transport.http.HttpClientHelper.processResponse(HttpClientHelper.java:123)
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performGet(HttpClientHelper.java:73)
    at org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:51)
    at org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:34)
    at org.gradle.internal.resource.transfer.DefaultExternalResourceConnector.openResource(DefaultExternalResourceConnector.java:41)
    at org.gradle.internal.resource.transport.DefaultExternalResourceRepository.getResource(DefaultExternalResourceRepository.java:63)
    at org.gradle.api.internal.artifacts.repositories.resolver.MavenMetadataLoader.parseMavenMetadataInfo(MavenMetadataLoader.java:57)
    at org.gradle.api.internal.artifacts.repositories.resolver.MavenMetadataLoader.load(MavenMetadataLoader.java:47)

in JRubyExecIntegrationSpec -> Running a script that requires a gem using custom embedded rubygems-servlets maven repo.

I have switched between both Torquebox and Lasagne.io. I also rolled back to building with Gradle 2.8 (not 2.6) and still see the same problem.

R. Tyler Croy
@rtyler
Sep 27 2017 14:22
yeah, I had similar problems with Gradle 4 :/
Schalk W. Cronjé
@ysb33r
Sep 27 2017 14:26
I am marking that as @PendingFeature and working through everything else.
R. Tyler Croy
@rtyler
Sep 27 2017 14:26
huh
Schalk W. Cronjé
@ysb33r
Sep 27 2017 14:26
It's a new annotation in Spock 1.1
R. Tyler Croy
@rtyler
Sep 27 2017 14:27
I wouldn't be surprised if the embedded java servlet stuff broke with 4
it might be easier to implement in 4, who knows
Schalk W. Cronjé
@ysb33r
Sep 27 2017 14:27
yeah, that is my line of thinking
My changes already drops support for anything <2.8
Schalk W. Cronjé
@ysb33r
Sep 27 2017 15:15
With the ezxception of that test I have actually made good progress so far covering base and jar with compatibility 2.8 - 4.2.
R. Tyler Croy
@rtyler
Sep 27 2017 15:18
wow cool
Schalk W. Cronjé
@ysb33r
Sep 27 2017 15:28
I've just submitted the PR. It is pretty big, but it also deals with a flaky lasagne.io
Will leave it to @rtyler to merge. We can then have a look at why that one test is failing.
R. Tyler Croy
@rtyler
Sep 27 2017 15:35
@ysb33r any thoughts on just bumping to 1.6 or something like that?
Schalk W. Cronjé
@ysb33r
Sep 27 2017 16:08
@rtyler Probably a good idea
I'll add it to the PR
I see there is a Travis failure, which I cannot reproduce.
rtyler @rtyler sighs
R. Tyler Croy
@rtyler
Sep 27 2017 16:10
oh Travis
R. Tyler Croy
@rtyler
Sep 27 2017 16:37
@ysb33r the travis failure looks like to me that PendingFeature thing isn't working
or maybe I'm misreading
java.lang.AssertionError: Feature is marked with @PendingFeature but passes unexpectedly
Schalk W. Cronjé
@ysb33r
Sep 27 2017 17:23
WTF?
It probably passes because you fixed lasagne.io
R. Tyler Croy
@rtyler
Sep 27 2017 17:23
heh
Schalk W. Cronjé
@ysb33r
Sep 27 2017 17:24
That test is a bit weird. I don;t really understand it completely.
Schalk W. Cronjé
@ysb33r
Sep 27 2017 20:33
I've merged it it to master for now. Set the version to 1.6.0-SNAPSHOT. It's up to you @rtyler whether you want to add it any functionality before release.
R. Tyler Croy
@rtyler
Sep 27 2017 20:35
@ysb33r so that embedded servlet is still busted, which is fine, but I think I will want to fix that before release