[
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