You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Marcus Better (JIRA)" <ji...@apache.org> on 2008/09/01 15:02:44 UTC

[jira] Resolved: (IVY-890) sftp resolver does not allow variable properties in configuration element

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

Marcus Better resolved IVY-890.
-------------------------------

    Resolution: Invalid

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