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