You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Ben Schmidt (Commented) (JIRA)" <ji...@apache.org> on 2012/02/25 00:05:51 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13216060#comment-13216060 ] 

Ben Schmidt commented on IVY-1338:
----------------------------------

Investigation shows that the property to flag the user's desire to have a local Ivy home is set, but the targets which actually set ivy.home are not called. Adding init-ivy-home as a dependency of init-ivy fixes this.
                
> /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
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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