You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Metatron Chronicler <me...@gmail.com> on 2013/06/14 23:48:06 UTC

Using buildr with pure Jruby or mixed jruby and java projects?

Is it possible to use Buildr to build pure Jruby or mixed projects (Jruby
and Java) into jars etc?  If so how is the build file to be setup?

Re: Using buildr with pure Jruby or mixed jruby and java projects?

Posted by Peter Donald <pe...@realityforge.org>.
Hi,

On Sat, Jun 15, 2013 at 7:48 AM, Metatron Chronicler
<me...@gmail.com> wrote:
> Is it possible to use Buildr to build pure Jruby or mixed projects (Jruby
> and Java) into jars etc?  If so how is the build file to be setup?

We use buildr to build+test rails projects that are packaged using
warbler [1] into war files. Unfortunately we don't have an opensource
example of this. We also use it to build some ruby gems in mixed
projects, that mostly involves a different packaging type for the
project such as [2].

I know we had some hassles with respect to including the rails tasks
directly into buildr as rails tried to rewrite some rake internals or
override a task we relied so we ended up being selective about which
rake tasks were included into buildr.

I also have some vague recollections that we had some issues either
with testing ruby gems or maybe it was generating coverage reports for
ruby gems that involved some mucking about, but we eventually got it
working.

HTH

[1] https://github.com/jruby/warbler
[2] https://github.com/realityforge/swung_weave/blob/master/buildfile#L81


-- 
Cheers,

Peter Donald