[ 
https://jira.codehaus.org/browse/MANTRUN-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl-Heinz Marbaise closed MANTRUN-174.
---------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Karl-Heinz Marbaise

No feedback so i close the issue. If you have further information etc. don't 
hesitate to reopen the issue.

> @ Symbols in path name confusing host resolution.
> -------------------------------------------------
>
>                 Key: MANTRUN-174
>                 URL: https://jira.codehaus.org/browse/MANTRUN-174
>             Project: Maven Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.7
>         Environment: Linux Ubuntu
>            Reporter: Dave Fennell
>            Assignee: Karl-Heinz Marbaise
>
> I want to use an SCP target directory that has an "@" in it, like this : 
> 2011-12-12@15:26:11.
> the scp command from effective-pom looks like this (users and passwords 
> replaced):
> <scp 
> todir="user:password@hostname:/project/releases/2011-12-12@15:26:11/mule-3.2.0/apps/"
>  file="/usr/local/src/project/mule/myapp/target/myapp-1.0-SNAPSHOT.zip" 
> trust="true" failonerror="true" />
> This results in this slightly odd error:
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: com.jcraft.jsch.JSchException: 
> java.net.SocketException: Invalid argument or cannot assign requested address
> around Ant part ...<scp 
> todir="user:password@hostname:/project/releases/2011-12-12@15:26:11/mule-3.2.0/apps/"
>  file="/usr/local/src/project/mule/myapp/target/myapp-1.0-SNAPSHOT.zip" 
> trust="true" failonerror="true"/>... @ 13:242 in 
> /usr/local/src/whitelabel/mule/boot-config/target/antrun/build-main.xml
> Before that it says:
>    [scp] Connecting to 15:22
> This should actually say 
>    [scp] Connecting to hostname:22
> This is a problem with the plugin and not scp itself because if I use those 
> paths directly with SCP on the command line it is fine.  from testing it 
> seems to looks for the LAST match in the line that looks something like 
> "@[a-z0-8]+:" i.e. between an "@" and a ":" however if there is more than one 
> match it's probably going to be the first one.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to