buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ittay Dror (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BUILDR-292) Downloading resources only works if "tmp" and ".m2" are on the same disk
Date Thu, 02 Jul 2009 16:45:47 GMT

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

Ittay Dror commented on BUILDR-292:
-----------------------------------

this is a jruby bug: http://jira.codehaus.org/browse/JRUBY-3381 which in  turn seems to relate
to java's inability to report the exact error codes on some io operations.

> Downloading resources only works if "tmp" and ".m2" are on the same disk
> ------------------------------------------------------------------------
>
>                 Key: BUILDR-292
>                 URL: https://issues.apache.org/jira/browse/BUILDR-292
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.4
>         Environment: Linux
> using the "java buildr"
>            Reporter: Klaas Prause
>            Priority: Minor
>
> We had a strange bug on our CI-Server. The download of artifacts (i.e. ANT jars) was
not working, because of a "permission denied" issue. Only our admin found out that buildr
uses the "rename" command to move downloaded artifacts from their download location to the
repository. Rename only works if the directories are on the same disk, it would probably help
to use "mv" for the implicit cp rm if the folders are on different disks.
> This issue is always a problem if the tmp-dir is located on a different drive.
> I cannot provide more information, because our admin fixed the issue by changing the
folder for the tmp dir. The command he used to identify the issue was "strace -f -ox buildr
build". The output file shows the failing rename command.
> Regards
> Klaas

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


Mime
View raw message