JRake

C

Charles Oliver Nutter

Bil said:
Fowler points to some folks replacing Ant with Rake:

http://martinfowler.com/bliki/JRake.html

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 :)

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.
 
C

Charles Oliver Nutter

Uma said:
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.
 
C

Caleb Powell

I had originally planned to make it use Ant tasks, but perhaps there's
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top