You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2009/06/02 00:56:42 UTC

[jira] Issue Comment Edited: (WAGON-261) Empty duplicate deploy directory created

    [ http://jira.codehaus.org/browse/WAGON-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178927#action_178927 ] 

Michael Osipov edited comment on WAGON-261 at 6/1/09 5:55 PM:
--------------------------------------------------------------

I was able to reproduce this issue in:
bash-2.02$ uname -a
IRIX64 oxid02 6.5 07202013 IP30

bash-2.02$ sshd -version
sshd: illegal option -- v
OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005
usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]
            [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]
bash-2.02$


      was (Author: sgfan):
    I was able to reproduce this issue in:
bash-2.02$ uname -a
IRIX64 oxid02 6.5 07202013 IP30

  
> Empty duplicate deploy directory created
> ----------------------------------------
>
>                 Key: WAGON-261
>                 URL: http://jira.codehaus.org/browse/WAGON-261
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-alpha-5
>         Environment: Maven 2.0.10, WinXP SP2, JDK 6, deploy to Ubuntu 8.04.2 Server 
>            Reporter: Michael Osipov
>            Priority: Critical
>
> I deploy with SFTP to a virtual machine, to a dir: /home/mosipov/public_html/docs which is served by HTTPd. Additionally to this dir, Wagon also creates a dir /home/mosipov/home/mosipov/public_html/docs.
> The machine is plain vanilla, sshd installed thru apt-get, OpenSSH 4.7
> I described the entire case in: http://www.mail-archive.com/users@maven.apache.org/msg97940.html
> I tried to debug the issue and came to here: http://svn.apache.org/viewvc/maven/plugins/tags/maven-site-plugin-2.0/src/main/java/org/apache/maven/plugins/site/SiteDeployMojo.java?view=markup L187
> this leads to http://svn.apache.org/viewvc/maven/wagon/tags/wagon-1.0-alpha-5/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java?view=markup
> upto line 515 is everyhing fine. No dups created. Stepping over the put(zipFile, path) method creates the dup. I tried to debug but eclipse constantly tried to access line 273 in AbstractSshWagon which is definitvely not the correct line.
> So the bug must be somewhere in SftpWagon.java between line 59 to 153.
> I guess the mkdirs ist not absolute to / but relative to /home/mosipov

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira