You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Victor Hugo Borja (JIRA)" <ji...@apache.org> on 2007/12/11 21:16:43 UTC
[jira] Created: (BUILDR-3) Buildr being usable on JRuby
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
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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Nick Sieger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559690#action_12559690 ]
Nick Sieger commented on BUILDR-3:
----------------------------------
Is there an equivalent JRuby bug on the File.utime issue? If not, we'd appreciate one. http://jira.codehaus.org/browse/JRUBY
> 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.
[jira] Updated: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Hugo Borja updated BUILDR-3:
-----------------------------------
Attachment: 0001-More-JRuby-1.1RC1-integration-changes-for-buildr-1.patch
Thanks Assaf, these last changes helped a lot.
Here's a patch to get buildr HEAD running with JRuby 1.1RC1, of course, you can expect more patches to come.
For anyone interested in running the specs under jruby, install JRuby 1.1RC and add JRUBY_HOME/bin to your PATH, make sure you have the buildr required gems installed on jruby and finally execute the specs:
jruby -S spec spec/compile_spec.rb
Running compile_spec.rb from HEAD using MRI results on: 111 examples, 26 failures, 1 pending
with this patch applied:
running compile_spec using MRI : 111 examples, 26 failures, 1 pending
running compile_spec using JRuby: 111 examples, 13 failures, 1 pending
>Major change alert. I decided to dump JavaWrapper, and go with the JRuby import style, so:
>
>Java.java.lang.String
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. As a workaround I've used Kernel.java on the attached patch to actually let JRuby do the work.
>I did not add the RubyZip patch yet, and can't get the test cases to pass yet.
Good news on this one, I think we may not need the RubyZip changes from my previous patches. packaging_spec.rb runs flawlessly on JRuby, and archive_spec.rb reports only 1 failure which seems to be a JRuby bug with mtime.
vic@odam ~/hk/buildr$ jruby -S spec spec/archive_spec.rb
.......................................................................................................F..........
1)
'Buildr::Unzip should touch target directory' FAILED
expected Wed Jan 16 15:21:36 UTC 2008 +/- (< 5), got Thu Jan 01 00:00:00 UTC 1970
/home/vic/hk/buildr/./spec/archive_spec.rb:331:
/home/vic/hk/buildr/./spec/archive_spec.rb:326:in `instance_eval'
file:/home/vic/tmp/buildrJtestR/jruby-1.1RC1/lib/jruby.jar!/jruby/commands.rb:14
:in `load'
file:/home/vic/tmp/buildrJtestR/jruby-1.1RC1/lib/jruby.jar!/jruby/commands.rb:14
:in `spec'
file:/home/vic/tmp/buildrJtestR/jruby-1.1RC1/lib/jruby.jar!/jruby/commands.rb:11
Finished in 11.619 seconds
114 examples, 1 failure
Assaf, I'd really appreciate if you can help me to get compile_spec to pass all examples.
Have a good day!
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551882 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Quick update. I'm integrating these fixes, so keep them coming, very helpful for me.
I'm also rewriting java.rb to simplify things, I think we can get rid of wrapper altogether, and still provide two separate implementations that abstract JRuby and RJB.
And separately, I'm working on fixing the test cases, so we can make this part of the official release.
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559715#action_12559715 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
So did I :-)
http://jira.codehaus.org/browse/JRUBY-1983
(And I accidentally hit enter while editing the title)
Those are actually two separate bugs, one in mtime and one in utime, just happens that touch is affected by both.
Meanwhile, I monkey patched FileUtils and with the patch down to only 15 failing test cases.
> 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.
[jira] Updated: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Hugo Borja updated BUILDR-3:
-----------------------------------
Attachment: 0002-Use-RubyString.to_java_bytes-instead-of-unpacking-th.patch
>From 252de0efade11edc2468461a5eac0fe8c5d8c771 Mon Sep 17 00:00:00 2001
From: Victor Hugo Borja <vi...@gmail.com>
Date: Fri, 14 Dec 2007 03:47:14 -0600
Subject: [PATCH] Use RubyString.to_java_bytes instead of unpacking the string.
This fixes a performance bottleneck and makes writing jars as fast as possible.
This patch must be applied after 0001-BuildR-is-usable-in-JRuby.patch
---
lib/java/jruby/zip.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558737#action_12558737 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
On my part, I'm going to get JRuby and RJB working side by side in 1.3, with some major cleanup of the wrapper code, so leave that to me.
But you can help me a lot if you can figure out a way to get the packaging test cases to work. I think the problem is with uncompressing the Zip files with RubyZip. Being able to run all the tests would make it easier to not break things.
Also Nick Sieger of the JRuby team has an RSpec plugin developed specifically for Buildr:
http://pivots.pivotallabs.com/users/pzabelin/blog/articles/375-functional-tests-for-java-project-rspec-jruby
It needs to be upgraded to 1.3, and Nick said he'll license it under the ASL, so we can include it in 1.3. I would suggest helping him with the upgrade, and adding as many test cases as you can.
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Hugo Borja resolved BUILDR-3.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.3
Thanks to Assad, most core test cases work with JRuby 1.1RC1. For those still not working, we will open new issues to avoid keeping this one too large. Thanks to all involved on getting buildr work on JRuby.
> Buildr being usable on JRuby
> ----------------------------
>
> Key: BUILDR-3
> URL: https://issues.apache.org/jira/browse/BUILDR-3
> Project: Buildr
> Issue Type: New Feature
> Components: JRuby
> Environment: JDK 1.6.
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
> Reporter: Victor Hugo Borja
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Updated: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Hugo Borja updated BUILDR-3:
-----------------------------------
Attachment: 0001-BuildR-is-usable-in-JRuby.patch
>From bdfe98632189c5005799ca78ff67ab0d11ca59e4 Mon Sep 17 00:00:00 2001
From: Victor Hugo Borja <vi...@gmail.com>
Date: Tue, 11 Dec 2007 13:26:14 -0600
Subject: [PATCH] BuildR is usable in JRuby !
Lots of work on this commit:
- Added notes for installation on JRuby
- Improved package/install task to be more user friendly. (ask to install dependencies)
- Most test cases are passing with rspec running with JRuby!
- Workaround for IO#isatty when running on JRuby
- Fixed zip/ file creation. It seems there's some problem handling byte streams either
in JRuby or in rubyzip+JRuby. To fix this, the ZipOutputStream api provided by rubyzip
was implemented using the ant zip tools.
- Fixed Buildr::Java.version
- javac, javadoc, apt now also work on JRuby.
---
README | 18 +++++++++
Rakefile | 68 ++++++++++++++++++++++++++++-------
lib/buildr.rb | 2 +
lib/java/ant.rb | 3 +-
lib/java/artifact.rb | 48 ++++++++++++++++++++++---
lib/java/java.rb | 65 ++++++++++++++++++---------------
lib/java/jruby/core.rb | 40 ++++++++++++++++++++
lib/java/jruby/zip.rb | 93 ++++++++++++++++++++++++++++++++++++++++++++++++
lib/tasks/zip.rb | 18 ++++++---
test/artifact.rb | 2 +-
test/common.rb | 2 +-
test/packaging.rb | 6 ++--
12 files changed, 306 insertions(+), 59 deletions(-)
create mode 100644 lib/java/jruby/core.rb
create mode 100644 lib/java/jruby/zip.rb
> 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
> Attachments: 0001-BuildR-is-usable-in-JRuby.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.
[jira] Updated: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Hugo Borja updated BUILDR-3:
-----------------------------------
Attachment: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch
Attachment: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch
Adding the tools.jar on the system classLoader instead of using JRuby's "require" seems to fix the javadoc problem.
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Work started: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on BUILDR-3 started by Assaf Arkin.
> 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
>
>
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560156#action_12560156 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Thanks, Maybe this can help us when running junit, specs on a forked VM.
--
Quaerendo invenietis.
> Buildr being usable on JRuby
> ----------------------------
>
> Key: BUILDR-3
> URL: https://issues.apache.org/jira/browse/BUILDR-3
> Project: Buildr
> Issue Type: New Feature
> Components: JRuby
> Environment: JDK 1.6.
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
> Reporter: Victor Hugo Borja
> Assignee: Assaf Arkin
> Attachments: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559406#action_12559406 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Major change alert. I decided to dump JavaWrapper, and go with the JRuby import style, so:
Java.java.lang.String
The Java module implements this for RJB, and uses it natively in JRuby. You still need to call Java.load before accessing any Java classes, due to the fact that Buildr needs the opportunity to populate the classpath. This is different from JRuby's require, it will also download and install artifacts.
The code is now split between java.rb (for various commands like javac, javadoc and backward compatible wrapper), rjb.rb and jruby.rb, the last two loaded depending on the platform. I did not add the RubyZip patch yet, and can't get the test cases to pass yet.
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558754#action_12558754 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Yes, I copied the wrong URL from the e-mail :-)
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559703#action_12559703 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Nick, I've filled a bug for it on http://jira.codehaus.org/browse/JRUBY-1982
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560128#action_12560128 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Strike the last remark, I see that jruby is using JAVA_OPTS, so we're good on that.
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Nick Sieger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560139#action_12560139 ]
Nick Sieger commented on BUILDR-3:
----------------------------------
If JRuby running buildr should need to fork itself, you should know that the default behavior of JRuby is to spawn another instance of itself in the same VM. If you want to pass Java VM arguments, then you'll want to actually fork a subprocess VM. To do this:
{noformat}
require 'rbconfig'
require 'jruby'
RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
def jruby(*args)
prev_in_process = JRuby.runtime.instance_config.run_ruby_in_process
JRuby.runtime.instance_config.run_ruby_in_process = false
system "#{RUBY} #{args.join(' ')}"
ensure
JRuby.runtime.instance_config.run_ruby_in_process = prev_in_process
end
{noformat}
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560136#action_12560136 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Sure, I'll add comments for JRuby on the textile you mention.
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559657#action_12559657 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Correction. Fileutils.touch, which we use in various tasks to update the time stamp, does:
File.utime(nil, nil, file)
In MRI this changes the timestamp to now. In JRuby it changes the timestamp to the beginning of the universe, or 1969, whichever comes first. So the update times are all wrong and affect some of the tests.
Also turns out that File.lstat(file).mtime reports the correct (1969) timestamp, but File.mtime(file) incorrectly reports ENOENT error.
> 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.
[jira] Issue Comment Edited: (BUILDR-3) Buildr being usable on
JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560502#action_12560502 ]
vic edited comment on BUILDR-3 at 1/18/08 10:57 AM:
------------------------------------------------------------------
Thanks to Assaf, most core test cases work with JRuby 1.1RC1. For those still not working, we will open new issues to avoid keeping this one too large. Thanks to all involved on getting buildr work on JRuby.
was (Author: vic):
Thanks to Assad, most core test cases work with JRuby 1.1RC1. For those still not working, we will open new issues to avoid keeping this one too large. Thanks to all involved on getting buildr work on JRuby.
> Buildr being usable on JRuby
> ----------------------------
>
> Key: BUILDR-3
> URL: https://issues.apache.org/jira/browse/BUILDR-3
> Project: Buildr
> Issue Type: New Feature
> Components: JRuby
> Environment: JDK 1.6.
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
> Reporter: Victor Hugo Borja
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560126#action_12560126 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
In SVN. Don't pay attention to the tweaks, I was just trying to get a feel for how JRuby wraps Java objects, playing around with all the reflective stuff.
On my machine, all test cases pass. Do you want to add a section on downloading and installing with JRuby? We have a new page for it, in doc/pages/downloading.textile.
Also, how would we pass JVM options to JRuby (like -Xms)? With RJB, we get to instantiate the VM in Ruby, so we just pass the JAVA_OPTS environment variable. What could we use for JRuby?
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Nick Sieger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560203#action_12560203 ]
Nick Sieger commented on BUILDR-3:
----------------------------------
Sorry, just run any ruby subprocess like system "jruby ...".
> Buildr being usable on JRuby
> ----------------------------
>
> Key: BUILDR-3
> URL: https://issues.apache.org/jira/browse/BUILDR-3
> Project: Buildr
> Issue Type: New Feature
> Components: JRuby
> Environment: JDK 1.6.
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
> Reporter: Victor Hugo Borja
> Assignee: Assaf Arkin
> Attachments: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558751#action_12558751 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Thanks Nick, I'll take a look at it.
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559543#action_12559543 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Forgot to say: My latest patch:
0001-More-JRuby-1.1RC1-integration-changes-for-buildr-1.patch
must be applied alone on HEAD
The previous ones are here just for reference as there have been lots of changes since they were submitted :)
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560154#action_12560154 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
By fork, do you mean Kernel.fork or even running system 'jruby ...' to launch a different process?
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Assigned: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin reassigned BUILDR-3:
--------------------------------
Assignee: Assaf Arkin
> 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
>
>
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Nick Sieger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558747#action_12558747 ]
Nick Sieger commented on BUILDR-3:
----------------------------------
Not sure what the pivotal labs link has to do with this, but I think you meant this:
http://fisheye.codehaus.org/browse/jruby-contrib/trunk/rack/spec/buildr_framework.rb
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559652#action_12559652 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
It seems most of the tests are failing because File.mtime is broken in RC1, and Rake uses File.mtime. Switching to File.lstat.mtime doesn't produce a file error, but doesn't return the right time either.
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559847#action_12559847 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
RubyZip is broken in JRuby RC1 (I filed a bug report), apparently a problem writing non-empty Zip entries, but no problem reading them, so I added a patch in lib/java/jruby.rb to use java.util.zip instead. Works like a charm, and the test cases all pass.
All that's left is to figure out why javadoc refuses to load the doclet, and we're green.
> 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558729#action_12558729 ]
Victor Hugo Borja commented on BUILDR-3:
----------------------------------------
Hey Assaf,
I'd really like to see buildr HEAD fully working with JRuby, is there anything I can help with ?, any problems you have encountered. I hope to help as much as I can on this, I'd also like to get JtestR integrated with buildr.
> 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, 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.
[jira] Commented: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560137#action_12560137 ]
Assaf Arkin commented on BUILDR-3:
----------------------------------
Victor, if you confirm it works for you and all tests pass, would you mind closing this ticket are resolved?
If we find additional problems with untested features, we should open individual tickets for each one.
> 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-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.
[jira] Updated: (BUILDR-3) Buildr being usable on JRuby
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin updated BUILDR-3:
-----------------------------
Component/s: JRuby
> Buildr being usable on JRuby
> ----------------------------
>
> Key: BUILDR-3
> URL: https://issues.apache.org/jira/browse/BUILDR-3
> Project: Buildr
> Issue Type: New Feature
> Components: JRuby
> Environment: JDK 1.6.
> JRuby SNAPSHOT: jruby-complete-1.1-20071211.100054-17
> Reporter: Victor Hugo Borja
> Assignee: Assaf Arkin
> Attachments: 0001-Added-the-tools.jar-to-the-systemClassLoader-this-m.patch, 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.