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

14th
Jul 2015
Schalk W. Cronjé
@ysb33r
Jul 14 2015 12:02
@mkristian you being the real JRuby expert among us, do you know why I would get an exception such as this?
```
org.jruby.exceptions.RaiseException: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:852)
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:815)
at RUBY.exit_because_of_exception(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:181)
at RUBY.standard_exception_handling(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:175)
at RUBY.load_rakefile(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:93)
at RUBY.raw_load_tasks(<script>:9)
at org.jruby.RubyKernel.tap(org/jruby/RubyKernel.java:1858)
at RUBY.raw_load_tasks(<script>:7)
at RUBY.load_tasks(<script>:14)
at org.jruby.gen.InterfaceImpl774483531.load_tasks(org/jruby/gen/InterfaceImpl774483531.gen:13)
at com.github.jrubygradle.rake.RakeFile.loadTasks(RakeFile.groovy:75)
at com.github.jrubygradle.rake.RakeExtension.loadfile(RakeExtension.groovy:68)
at com.github.jrubygradle.rake.RakeExtension.loadfile(RakeExtension.groovy:51)
at com.github.jrubygradle.rake.RakeExtensionSpec.Must be able to load a Rakefile(RakeExtensionSpec.groovy:49)
```
This message was deleted
@mkristian you being the real JRuby expert among us, do you know why I would get an exception such as this?

```
org.jruby.exceptions.RaiseException: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:852)
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:815)
at RUBY.exit_because_of_exception(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:181)
at RUBY.standard_exception_handling(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:175)
at RUBY.load_rakefile(/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.21/e061b9f399a5e8d5cfcca84d4a6baf879111e83c/jruby-complete-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rake/application.rb:93)
at RUBY.raw_load_tasks(<script>:9)
at org.jruby.RubyKernel.tap(org/jruby/RubyKernel.java:1858)
at RUBY.raw_load_tasks(<script>:7)
at RUBY.load_tasks(<script>:14)
at org.jruby.gen.InterfaceImpl774483531.load_tasks(org/jruby/gen/InterfaceImpl774483531.gen:13)
at com.github.jrubygradle.rake.RakeFile.loadTasks(RakeFile.groovy:75)
at com.github.jrubygradle.rake.RakeExtension.loadfile(RakeExtension.groovy:68)
at com.github.jrubygradle.rake.RakeExtension.loadfile(RakeExtension.groovy:51)
at com.github.jrubygradle.rake.RakeExtensionSpec.Must be able to load a Rakefile(RakeExtensionSpec.groovy:49)

```
Schalk W. Cronjé
@ysb33r
Jul 14 2015 12:34
Wow, that exception turned out to be the Rakefile being missing
Schalk W. Cronjé
@ysb33r
Jul 14 2015 15:11
Is there anyway in a Rake project to tell it not to to write results back into the source tree, but rather into a separate build root?
R. Tyler Croy
@rtyler
Jul 14 2015 15:31
wow
Schalk W. Cronjé
@ysb33r
Jul 14 2015 15:39
heh?
R. Tyler Croy
@rtyler
Jul 14 2015 16:01
that's quite an odd exception
Schalk W. Cronjé
@ysb33r
Jul 14 2015 16:02
it was caused by a missing Rakefile (!)
no clue in the exception though
Schalk W. Cronjé
@ysb33r
Jul 14 2015 16:08
but in the interim I managed to get the rakefile plugin to execute a basic Makefile task !!
R. Tyler Croy
@rtyler
Jul 14 2015 16:18
fwiw, I was only asking about the rake plugin out of curiosity, I don't really want/need it :P
Schalk W. Cronjé
@ysb33r
Jul 14 2015 16:32
It was done over a croissant and a hot chocolate
R. Tyler Croy
@rtyler
Jul 14 2015 16:36
mmm
R. Tyler Croy
@rtyler
Jul 14 2015 17:33
@ysb33r can I bug you for some asciidoctor halp?
the IRC channel is pretty useless on freenode it turns out :(
Schalk W. Cronjé
@ysb33r
Jul 14 2015 17:38
Sure, fire away
R. Tyler Croy
@rtyler
Jul 14 2015 17:39
I'm trying to more fully understand how complex sites like asciidoctor.org are built, it appears that there's some external tooling like haml or jekyll being employed to get things like page layouts and other groupped content (table of contents across pages) set up?
Schalk W. Cronjé
@ysb33r
Jul 14 2015 17:40
jBake and Grain are popular site builers which utilise asciidoctor
R. Tyler Croy
@rtyler
Jul 14 2015 17:42
I suppose I can also just use awestruct through the powah of jruby-gradle :P
hrm
Schalk W. Cronjé
@ysb33r
Jul 14 2015 19:03
@rtyler This is how Griffon bulds their site - https://github.com/griffon/griffon/tree/development/docs/griffon-site
rtyler @rtyler looks
R. Tyler Croy
@rtyler
Jul 14 2015 20:36
that's kind of wacky
based on what I've seen in the asciidoctor-gradle-examples for deckjs, I think I can use awestruct without deviating too far from a relatively standard asciidoctor gradle implementation
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:38
yip - ask Dan, he might give a few pointers to porijects already doing that
R. Tyler Croy
@rtyler
Jul 14 2015 20:38
@mojavelinux I SUMMON THEE
rtyler @rtyler wonders if that will work
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:39
Probably not - not seen him on Gitter for a while - I just use twitter or the Asciidoctor forum (discuss.asciidoctor.org)
R. Tyler Croy
@rtyler
Jul 14 2015 20:40
frankly, I will sooner not ask a question than bother registering for yet another goddamn forum
rtyler @rtyler shrugs
R. Tyler Croy
@rtyler
Jul 14 2015 20:40
Gradleware does the forum thing too, drives me bonkers
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:40
twitter it is ...
R. Tyler Croy
@rtyler
Jul 14 2015 20:41
heh
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:42
rtyler @rtyler nods
R. Tyler Croy
@rtyler
Jul 14 2015 20:43
but not gradle :P
jruby-gradle.github.io sure will though!
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:44
interesting challenge, but in the spirit of jruby gradle
thus install all gems for awestruct deps from grade, execute it, then publish the final html pages to gh-pages?
R. Tyler Croy
@rtyler
Jul 14 2015 20:45
yep, I've got most of it there already
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:49
on a totally different note, I am trying to figure out whether it is possible to admin a M$ hyperv cloud with openstack
R. Tyler Croy
@rtyler
Jul 14 2015 20:49
looked at puppet's windows support?
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:52
not really, but I’m not so sure I want to go that route
R. Tyler Croy
@rtyler
Jul 14 2015 20:54
holy shit, awestruct depends on an incredible amount of shit
Schalk W. Cronjé
@ysb33r
Jul 14 2015 20:54
hahahaha
I'm going to look at jekyll <_<
I might have to submit some PRs to asciidoctor-gradle to use jruby-gradle properly
rtyler @rtyler throws out asciidoctor-gradle
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:03
yeah, if you go like the jekyll/jbake route, asciidoctpr-gradle is not the solution.
rtyler @rtyler nods
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:04
rather use the gradle plugin for jbake. For jekyll you are on your own.
rtyler @rtyler nods
R. Tyler Croy
@rtyler
Jul 14 2015 21:05
we really need to tighten up the support for multiple configurations as far as jrubyPrepare goes and whatnot
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:05
but since it is ruby based, maybe time for a plugin
multiple configurations as in configurations ‘gems’, ‘foo’, ‘bar’ ?
R. Tyler Croy
@rtyler
Jul 14 2015 21:06
yeah
if I want isolated groups of dependencies, it's a bit more onerous than I think it should be to have those all set up properly
#149 is related to some extent
R. Tyler Croy
@rtyler
Jul 14 2015 21:16
  build file '/home/tyler/source/github/jruby-gradle/jruby-gradle-plugin/build.gradle': 95: unable to resolve class com.github.jrubygradle.JRubyPrepare
   @ line 95, column 1.
     import com.github.jrubygradle.JRubyPrepare
     ^
well, that's weird
I can grab JRubyExec but not JRubyPrepare o_O
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:21
DId we release the version with JRubyPrepare?
I thought it was still pending 0.4.0
R. Tyler Croy
@rtyler
Jul 14 2015 21:23
I see it in the 0.3.2 tag
or wait
I have this backwards
DERP
you're right
any reason I should just cut the next version of this bad boy @ysb33r ?
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:26
because it needs to go to 0.4.0 and well documented - it’s a breaking change.
R. Tyler Croy
@rtyler
Jul 14 2015 21:26
it's not a breaking change, the deprecation warnings are there?
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:27
yeah, but if someone made specific configurations it will break
most builds will probably just work, but I am sure some will break
R. Tyler Croy
@rtyler
Jul 14 2015 21:27
bumped the version up
of course, these wankers https://plugins.gradle.org/plugin/com.github.jruby-gradle.base still aren't syncing our plugins properly
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:28
I push to both
works a lot easier
R. Tyler Croy
@rtyler
Jul 14 2015 21:28
bah gradleware is aggravating me this month
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:28
you can still have it on binary, but pushing to gradle portal directly speeds things up a lot
R. Tyler Croy
@rtyler
Jul 14 2015 21:29
their fucking publish plugin doesn't properly handle gradle.properties inheritance
their plugin portal has given me more 500s than bintray too that's for sure
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:29
really?
R. Tyler Croy
@rtyler
Jul 14 2015 21:29
I don't understand that move for the business at all
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:29
maybe I should have a look
I think I need to create a PR for this, but not tonight
I need 90min of clear thinking for this and maybe more than another hot chocolate and croissant
R. Tyler Croy
@rtyler
Jul 14 2015 21:33
heh
Schalk W. Cronjé
@ysb33r
Jul 14 2015 21:34
fix the publish problem
I found a better way of dealing with publishing in some of myother plugins - can port most of it here
R. Tyler Croy
@rtyler
Jul 14 2015 21:48
GARGH, jekyll has some awful MRI-based dependencies
I cannot win today