You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/02/27 11:34:05 UTC
[jira] Resolved: (BUILDR-354) Support cases where stat.dev is not
supported by the Ruby implementation
[ https://issues.apache.org/jira/browse/BUILDR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved BUILDR-354.
-----------------------------------
Resolution: Invalid
Actually, the best fix is to compile jffi and make it available for the particular platform needed.
> Support cases where stat.dev is not supported by the Ruby implementation
> ------------------------------------------------------------------------
>
> Key: BUILDR-354
> URL: https://issues.apache.org/jira/browse/BUILDR-354
> Project: Buildr
> Issue Type: Improvement
> Components: JRuby
> Affects Versions: 1.3.5
> Reporter: Antoine Toulme
> Fix For: 1.4
>
>
> JRuby does not support stat.dev over 64 bit archs (according to the jruby channel, the ffi glue is compiled for 32 bits).
> As a result, this exception is thrown:
> stat.st_dev unsupported on this platform
> We want to catch this error when thrown and use an alternate way of moving files in that case: copying then deleting them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.