You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/07 00:02:00 UTC

[jira] [Resolved] (IVY-1338) /localivy target does not work when building Ivy jar

     [ https://issues.apache.org/jira/browse/IVY-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1338.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

Applied your patch in SVN trunk.
Thanks for the contribution!
                
> /localivy target does not work when building Ivy jar
> ----------------------------------------------------
>
>                 Key: IVY-1338
>                 URL: https://issues.apache.org/jira/browse/IVY-1338
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Mac OS X Lion 10.7.2, MacPorts, 2011 MacBook Pro with Intel Core i7.
>            Reporter: Ben Schmidt
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: ivy-home.patch
>
>
> The /localivy target does not work when building Ivy jar (ant /localivy jar). It is supposed to result in ivy.home being set to $BUILD/.ivy2 instead of $HOME/.ivy2. However, it fails to do so, at least when building the jar target (and probably others). In MacPorts, this causes problems, as Ivy is built as an unprivileged user different to the real user, so can't access ~/.ivy2/cache, so can't resolve dependencies, and the whole build fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira