JRuby 1.5 to provide native support for Ant

Posted by kerry on Gooder Code See other posts from Gooder Code or by kerry
Published on Thu, 25 Feb 2010 16:01:00 +0000 Indexed on 2010/03/18 23:21 UTC
Read the original article Hit count: 869

Filed under:
|
|
|

In case you haven’t heard, the next version of JRuby will provide native support for Ant.  Much like antwrap, you will be able to call ant tasks straight from Ruby.  There are some pretty good examples here, but no examples of how to get it running on your machine today.

  1. First, you will need to install Git SCM
  2. Next, create a directory, JRuby on your machine
  3. CD to that directory, and run ‘git init’
  4. Next, run ‘git pull git://github.com/jruby/jruby.git’
  5. Once it has finished downloading, you can run ‘ant’ to build it
  6. Now, just use the executable jar under bin to run the latest version of JRuby

Now get started converting those nasty ant builds to rake.

© Gooder Code or respective owner

Related posts about Lessons

Related posts about ant