logo       

Re: Java, JRuby, and Eclipse: msg#00006

lang.jruby.user

Subject: Re: Java, JRuby, and Eclipse

On Sun, 05 Feb 2006, Rich Morin defenestrated me:
>
> I've been able to download and run a few Java programs
> without much pain, but it looks like I'm going to start
> using some Java apps (eg, the Pentaho BI Platform) more
> seriously.
>
> It would be great to have a good support environment to
> help me tweak things, make changes, and rebuild World +
> Dog without needing to grok the entire pile of software.
> It would also be really cool to be able to interact eith
> the code from irb, rather than Java.
>
> So, given some relatively typical humongous Java app:
>
> * How likely is it that I could use Eclipse to build
> it, explore the code, etc? Is this generally a
> worthwhile thing to try?

I think all the active developers use eclipse. Navigating
through the code or using the debugger is straight forward.

I always build jruby outside of eclipse. That is one odd
thing (it does not make the jar). I cannot remember why that
is. Someone else may be building from within eclipse. For
me, that has not been a problem since I am constantly running
JRuby from a command-line to test stuff.

> * How hard is it likely to be to add JRuby to the mix,
> in a way that would allow me to call arbitrary Java
> methods from irb, etc?

irb does not work. I can think of two reasons:
1. We have no answer to terminal in Java (unless we make some
sort of swing app fire up when terminal or readline are used).
2. I believe irc requires callcc...which we do not support yet

-Tom

--
+ http://www.tc.umn.edu/~enebo +---- mailto:enebo@xxxxxxx ----+
| Thomas E Enebo, Protagonist | "Luck favors the prepared |
| | mind." -Louis Pasteur |


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise