JRake

Fowler points to some folks replacing Ant with Rake:

JRake

Regards,

Fowler points to some folks replacing Ant with Rake:
JRake
Regards,

Bil K.
Ruby Wish List

awesome, that will fit nicely with my current toolset

thanks Bil

Bil K. wrote:

Fowler points to some folks replacing Ant with Rake:

JRake

Yeah, cool stuff. I’ve been following the JRake development the past
week or so and it’s starting to look pretty solid. I’ve figured this
would be a great application of JRuby, and I’m glad someone with more
time than me decided to start wiring it up :slight_smile:

I had originally planned to make it use Ant tasks, but perhaps there’s
more value in reimplementing the tasks from scratch to be more Rubyish?
My justification was in reusing all the many, many Ant tasks already
implemented within a Rake script, but I can see both sides.

I had originally planned to make it use Ant tasks, but perhaps there’s
more value in reimplementing the tasks from scratch to be more Rubyish?
My justification was in reusing all the many, many Ant tasks already
implemented within a Rake script, but I can see both sides.

From what you’ve seen about JRake so far, would it be too
difficult to generate Rakefiles out of Ant build.xml makefiles ?

best,
UG

Uma G.

I had originally planned to make it use Ant tasks, but perhaps there’s
more value in reimplementing the tasks from scratch to be more Rubyish?
My justification was in reusing all the many, many Ant tasks already
implemented within a Rake script, but I can see both sides.

From what you’ve seen about JRake so far, would it be too
difficult to generate Rakefiles out of Ant build.xml makefiles ?

best,

I know I’m posting to this forum a little late but…

In my opinion, the best approach is to invoke Ant tasks from within a
rake file. The best part of Ant is the multitude of tasks available. I
wrote awrapper called Antwrap which may be helpful to you:

http://rubyforge.org/projects/antwrap/
http://antwrap.rubyforge.org/

There is a convert.rb script available which will convert an Ant
build.xml file to a Rake file. Antwrap is a gem that allows you to
invoke Ant tasks from within a Ruby/JRuby script.

Cheers,

Caleb

Uma G. wrote:

From what you’ve seen about JRake so far, would it be too
difficult to generate Rakefiles out of Ant build.xml makefiles ?

It’s hard to say, but if there’s a straightfoward translation for tasks,
it shouldn’t be hard to make that translation. Ant is almost exclusively
descriptive rather than procedural, so going to a more procedural build
script like JRake/Rake ought not to be too difficult.