[
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 <[EMAIL PROTECTED]>
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.