ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Better (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-890) sftp resolver does not allow variable properties in <sftp> configuration element
Date Mon, 01 Sep 2008 13:00:44 GMT

    [ https://issues.apache.org/jira/browse/IVY-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627453#action_12627453
] 

Marcus Better commented on IVY-890:
-----------------------------------

Oops, my build.properties file wan not correctly included. Sorry about the noise.

> sftp resolver does not allow variable properties in <sftp> configuration element
> --------------------------------------------------------------------------------
>
>                 Key: IVY-890
>                 URL: https://issues.apache.org/jira/browse/IVY-890
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>         Environment: OpenJDK 6, Debian Linux
>            Reporter: Marcus Better
>
> I have an sftp resolver configured as follows:
> {code}
> <sftp name="shared" host="ivy.example.org" user="${ivy.ssh.username}" keyFile="${ivy.ssh.pubkey.file}">
>   <ivy pattern="${ivy.shared.root}/${ivy.shared.ivy.pattern}" />
>   <artifact pattern="${ivy.shared.root}/${ivy.shared.artifact.pattern}" />
> </sftp>
> {code}
> But the variables ivy.ssh.username and ivy.ssh.pubkey.file do not seem to be expanded
at run-time. I want to set those in a the per-user properties file ~/build.properties. This
would enable convenient central management of repositories. Ivy outputs
> {code}
> [ivy:retrieve] :: problems summary ::                                        
> [ivy:retrieve] :::: WARNINGS                                                 
> [ivy:retrieve]  Pemfile /home/marcus/lucy/lucy/${ivy.ssh.pubkey.file} doesn't exist.
> {code}

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