[ 
https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559632#action_12559632
 ] 

Assaf Arkin commented on BUILDR-3:
----------------------------------

"Good!, although I hope we can later remove those now deprecated Java.java and 
friends. Having them still around causes any
call to "java.lang" or "::Java.lang" to try executing the java tool."

I solved it differently.  If you call Java.java with no arguments, it delegates 
to method_missing which, for both JRuby and RJB resolves to the java method.  
If you call Java.java with arguments it runs the java command, with warning 
that this method is deprecated. 

> Buildr being usable on JRuby
> ----------------------------
>
>                 Key: BUILDR-3
>                 URL: https://issues.apache.org/jira/browse/BUILDR-3
>             Project: Buildr
>          Issue Type: New Feature
>         Environment: JDK 1.6. 
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
>            Reporter: Victor Hugo Borja
>            Assignee: Assaf Arkin
>         Attachments: 0001-BuildR-is-usable-in-JRuby.patch, 
> 0001-More-JRuby-1.1RC1-integration-changes-for-buildr-1.patch, 
> 0002-Use-RubyString.to_java_bytes-instead-of-unpacking-th.patch
>
>
> Attached patch makes buildr-HEAD usable on JRuby. See the patch changelog for 
> details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to