You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2008/10/06 11:35:08 UTC
[jira] Created: (WAGON-245) ssh providers throw the wrong exception
in getFilelist for resource not found
ssh providers throw the wrong exception in getFilelist for resource not found
-----------------------------------------------------------------------------
Key: WAGON-245
URL: http://jira.codehaus.org/browse/WAGON-245
Project: Maven Wagon
Issue Type: Bug
Components: wagon-ssh, wagon-ssh-external
Affects Versions: 1.0-beta-4
Reporter: Dan Tran
wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
This is a needed fix to get stage plugin to support scp source.
--
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
[jira] Updated: (WAGON-245) ssh providers throw the wrong exception
in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-245:
---------------------------
Attachment: WAGON-245.diff
attached patch handle the special case where user does
ls -al a.existing.file/ same as wagon.getFilelist( a.existing.file/) note for the ending slash
to see if an entry on th filelist is a file or a directory. It is a file, wagon should returns ResourceNotFound exception by parsing "Not a directory"
> ssh providers throw the wrong exception in getFilelist for resource not found
> -----------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
> Fix For: 1.0-beta-5
>
> Attachments: WAGON-245.diff
>
>
> wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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
[jira] Closed: (WAGON-245) Wagon providers throw the wrong
exception in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran closed WAGON-245.
--------------------------
Resolution: Fixed
patch applied
Revision: 731213
Author: dantran
Date: 1:54:21 AM, Sunday, January 04, 2009
Message:
WAGON-245:throw ResourceDoesNotExistException for a couple of corner cases
----
Modified : /maven/wagon/trunk/wagon-providers/wagon-ftp/src/main/java/org/apache/maven/wagon/providers/ftp/FtpWagon.java
Modified : /maven/wagon/trunk/wagon-providers/wagon-ssh-common/src/main/java/org/apache/maven/wagon/providers/ssh/ScpHelper.java
> Wagon providers throw the wrong exception in getFilelist for resource not found
> -------------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ftp, wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
> Assignee: Dan Tran
> Fix For: 1.0-beta-5
>
> Attachments: WAGON-245-ftp.diff, WAGON-245.diff
>
>
> wagon providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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
[jira] Updated: (WAGON-245) ssh providers throw the wrong exception
in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-245:
---------------------------
Assignee: Dan Tran
Fix Version/s: 1.0-beta-5
> ssh providers throw the wrong exception in getFilelist for resource not found
> -----------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
> Assignee: Dan Tran
> Fix For: 1.0-beta-5
>
> Attachments: WAGON-245.diff
>
>
> wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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
[jira] Updated: (WAGON-245) Wagon providers throw the wrong
exception in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-245:
---------------------------
Description:
wagon providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
was:
wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
Component/s: wagon-ftp
Summary: Wagon providers throw the wrong exception in getFilelist for resource not found (was: ssh providers throw the wrong exception in getFilelist for resource not found)
> Wagon providers throw the wrong exception in getFilelist for resource not found
> -------------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ftp, wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
> Assignee: Dan Tran
> Fix For: 1.0-beta-5
>
> Attachments: WAGON-245.diff
>
>
> wagon providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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
[jira] Updated: (WAGON-245) ssh providers throw the wrong exception
in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-245:
---------------------------
Description:
wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
was:
wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
This is a needed fix to get stage plugin to support scp source.
> ssh providers throw the wrong exception in getFilelist for resource not found
> -----------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
>
> wagon ssh providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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
[jira] Updated: (WAGON-245) Wagon providers throw the wrong
exception in getFilelist for resource not found
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-245:
---------------------------
Attachment: WAGON-245-ftp.diff
another patch for wagon-ftp ( WAGON-245-ftp.diff )
> Wagon providers throw the wrong exception in getFilelist for resource not found
> -------------------------------------------------------------------------------
>
> Key: WAGON-245
> URL: http://jira.codehaus.org/browse/WAGON-245
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ftp, wagon-ssh, wagon-ssh-external
> Affects Versions: 1.0-beta-4
> Reporter: Dan Tran
> Assignee: Dan Tran
> Fix For: 1.0-beta-5
>
> Attachments: WAGON-245-ftp.diff, WAGON-245.diff
>
>
> wagon providers should throw ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols
--
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