Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 691 invoked from network); 29 Apr 2009 19:45:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Apr 2009 19:45:24 -0000 Received: (qmail 26971 invoked by uid 500); 29 Apr 2009 19:45:24 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 26860 invoked by uid 500); 29 Apr 2009 19:45:23 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 26634 invoked by uid 99); 29 Apr 2009 19:45:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 19:45:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 19:45:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id E33C014A81A2 for ; Wed, 29 Apr 2009 14:44:44 -0500 (CDT) Message-ID: <19325637.90731241034284910.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 29 Apr 2009 14:44:44 -0500 (CDT) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Subject: [jira] Created: (WAGON-261) Empty duplicate deploy directory created MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org 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