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

29th
Apr 2019
Schalk W. Cronjé
@ysb33r
Apr 29 06:03
@rtyler posssibly I might have some this afternoon. I'm in Switzerland for VoxxedDays Cern.
R. Tyler Croy
@rtyler
Apr 29 13:36
@ysb33r yo
Schalk W. Cronjé
@ysb33r
Apr 29 13:36
Yo
R. Tyler Croy
@rtyler
Apr 29 13:38
Schalk W. Cronjé
@ysb33r
Apr 29 14:02
So that is running a javaexec from within the task. What is run from within the task. (Don't have access to laptop atm).
Schalk W. Cronjé
@ysb33r
Apr 29 14:28
Right, let's have a look
Schalk W. Cronjé
@ysb33r
Apr 29 14:52
@rtyler When running jruby from the command-line, how would none normally add more logging?
Or do you just want to see what the java command-line that is used by javaexec, is?
R. Tyler Croy
@rtyler
Apr 29 15:44
@ysb33r I'm trying to see exactly what command the javaexec is running, with all the arguments, so I can figure out why this gem install is only failing within jruby/gradle
if this were a gradle project I were running from the CLI, I would just pass -i
Schalk W. Cronjé
@ysb33r
Apr 29 16:42
Ah yes. It is because we invoke the test in a non-standard way. When we wrote it originally TestKit did not even exist.
R. Tyler Croy
@rtyler
Apr 29 16:44
ah yes, the olden days :)
Schalk W. Cronjé
@ysb33r
Apr 29 16:49
Can I do a quick PR for you? It might be easier than actually explaining.
R. Tyler Croy
@rtyler
Apr 29 16:56
sure
Schalk W. Cronjé
@ysb33r
Apr 29 17:05
against master will be the easiest?
R. Tyler Croy
@rtyler
Apr 29 17:06
sure
anywhere you wish to drop me some code I can look at :)
Schalk W. Cronjé
@ysb33r
Apr 29 17:08
I have a test that produces this about
```
Task ':jrubyPrepare' is not up-to-date because:
Executed with '--rerun-tasks'.
Found locally available resource with matching checksum: [https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom, /Users/schalkc/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/sinatra/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/sinatra/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/lookout-rack-utils/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/lookout-rack-utils/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/tilt/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/tilt/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack-protection/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack-protection/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/i18n/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/i18n/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack-graphite/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/rack-graphite/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/configatron/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/configatron/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/log4r/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/log4r/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/lookout-statsd/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/lookout-statsd/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/concurrent-ruby/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/concurrent-ruby/]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/yamler/maven-metadata.xml]
Resource missing. [HTTP GET: https://jcenter.bintray.com/rubygems/yamler/]
Installing sinatra-1.4.5.gem,lookout-rack-utils-3.1.0.12.gem,rack-protection-1.5.5.gem,rack-1.5.5.gem,tilt-1.4.1.gem,i18n-1.6.0.gem,rack-graphite-1.6.0.gem,configatron-2.13.0.gem,log4r-1.1.10.gem,lookout-statsd-3.2.0.gem,concurrent-ruby-1.1.5.gem,yamler-0.1.0.gem
Starting process 'command '/Users/schalkc/.sdkman/candidates/java/8u141-oracle/bin/java''. Working directory: /Users/schalkc/Projects/jruby-gradle-dev/jruby-gradle-plugin/jruby-gradle-base-plugin/build/gradleTest/rakeDependency/4.10 Command: /Users/schalkc/.sdkman/candidates/java/8u141-oracle/bin/java -Dfile.encoding=utf-8 -Duser.country=GB -Duser.language=en -Duser.variant -cp /private/var/folders/jy/ls4wb8pd3tgg10f8vr2q27_h0000gn/T/.gradle-test-kit-schalkc/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.1.14.0/953b0ecf50980a4112fd0a2cd1dec1225b93c529/jruby-complete-9.1.14.0.jar org.jruby.Main -S gem install /private/var/folders/jy/ls4wb8pd3tgg10f8vr2q27_h0000gn/T/.gradle-test-kit-schalkc/caches/modules-2/files-2.1/rubygems/sinatra/1.4.5/97e695f50c078ea57424dd8a48424269e6afdacb/sinatra-1.4.5.gem /private/var/folders/jy/ls4wb8pd3tgg10f8vr2q27_h0000gn/T/.gradle-test-kit-schalkc/caches/modules-2/files-2.1/rubygems/lookout-rack-utils/3.1.0.12/7e8b9b6d1238dffb7dbbef963d3ade5db49eaa88/lookout-rack-utils-3.1.0.12.gem /private/var/folders/jy/ls4wb8pd3tgg10f8vr2q27_h0000gn/T/.gradle-test-kit-schalkc/caches/modules-2/files-2.1/rubygems/rack-protection/1.5.5/f80ea6672253a90fa031db0c1e2e1fe056582118/rack-protection-1.5.5.gem /private/var/folders/jy/ls4wb8pd3tgg10f8vr2q27_h0000gn/T/.gradle-test-kit-schalkc/caches/modules-2/files-2.1/rubygems/rack/1.5.5/ba068a3f5dbbed9ed38fdb5
I don't think that paste came out well
Will create the PR now. Give me a couple of minutes
I added it as a compatibility test, it was the quickest for now. There are some instructions in the PR on seeing the output.
R. Tyler Croy
@rtyler
Apr 29 17:16
cool! thanks
I'll have to take a look after work, I'm still in PDT and it's worktime :)
Schalk W. Cronjé
@ysb33r
Apr 29 17:16
Good luck. I'm off to dinner.
R. Tyler Croy
@rtyler
Apr 29 17:20
:hamburger: