On Thu, Nov 26, 2009 at 12:47 AM, Robert Fischer
<[email protected]> wrote:
> I'm starting to release my plugins, and I've figured out a reasonably simple
> way for people to use them.  See my README here:
> http://github.com/RobertFischer/gradle-plugins/blob/master/README.md
>
> Currently, I've released two plugins: ClassLoaders and Exec.  They allow you
> to gain access to a classloader based on a configuration and execute shell
> scripts (respectively).
>
> A RunJRuby and a Cucumber plugin are coming presently.  The goal will be to
> eat Cuke4Duke's lunch: I've been underwhelmed with Cuke4Duke's ease-of-use.

Robert, these come in at a handy time for me. We're using
activerecord/rake to do database migrations and I would like to
incorporate the running of rake into the gradle build. Not sure if the
JRuby plugin is ready, but I tried anyway :-) The goal is to be able
to do a gradlew on a pristine workstation with only Java installed and
have everything running automatically.

Looking at the code it seems like it tries to find a file in the gem
directory. I'm a newbie when it comes to JRuby (and even Ruby :-),  so
maybe there's some fundamental stuff I miss, but I needed to change
the last line of gemHome to

      return gemDir == null ? null : project.tryRelativePath(gemDir)

in order not to get a NPE when no gems are installed

/Jeppe

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to