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/11 06:10:51 UTC
[jira] Created: (WAGON-246) Wagon.getFilelist does not work
Wagon.getFilelist does not work
-------------------------------
Key: WAGON-246
URL: http://jira.codehaus.org/browse/WAGON-246
Project: Maven Wagon
Issue Type: Bug
Components: wagon-webdav
Affects Versions: 1.0-beta-4
Environment: xp, maven 2.1 M1
Reporter: Dan Tran
- getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
- getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
Embedded error: Destination path exists but is not a WebDAV collection (directory):
https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
details is here
http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-246:
---------------------------
Fix Version/s: 1.0-beta-5
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
> Fix For: 1.0-beta-5
>
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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] Commented: (WAGON-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150541#action_150541 ]
Dan Tran commented on WAGON-246:
--------------------------------
by forcing a "/" at the end, getFileList works
https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/
-D
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran closed WAGON-246.
--------------------------
Assignee: Dan Tran
Resolution: Fixed
fixed at
Revision: 731091
Author: dantran
Date: 1:25:34 PM, Saturday, January 03, 2009
Message:
WAGON-246, WAGON-255: use jackrabbit-webdav-1.5.0, fix getFileList to retrieve directory entries as well, and add getWagonWebDavTest.
----
Modified : /maven/wagon/trunk
Modified : /maven/wagon/trunk/wagon-providers/wagon-webdav-jackrabbit/pom.xml
Modified : /maven/wagon/trunk/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java
Modified : /maven/wagon/trunk/wagon-providers/wagon-webdav-jackrabbit/src/test/java/org/apache/maven/wagon/providers/webdav/WebDavWagonTest.java
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
> Assignee: Dan Tran
> Fix For: 1.0-beta-5
>
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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] Commented: (WAGON-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159792#action_159792 ]
Dan Tran commented on WAGON-246:
--------------------------------
jackrabbit-webdav-1.5.0 behaves much better.
The second issue is resolved, now work around needed.
The first issue will need some changes at getFileList to not ignore sub directory listing.
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
> Fix For: 1.0-beta-5
>
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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] Commented: (WAGON-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150542#action_150542 ]
Dan Tran commented on WAGON-246:
--------------------------------
place the below block
//WAGON-246
if ( ! url.endsWith( "/" ) )
{
url += "/";
}
at the beginning of WebDavWagon.isDirectory() method solves the second issue
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-246:
---------------------------
Description:
- getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
- getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
Embedded error: Destination path exists but is not a WebDAV collection (directory):
https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
details is here
http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
was:
- getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
- getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
Embedded error: Destination path exists but is not a WebDAV collection (directory):
https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
details is here
http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
Summary: Wagon.getFilelist does not work for WebDav (was: Wagon.getFilelist does not work)
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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] Commented: (WAGON-246) Wagon.getFilelist does not work for
WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159793#action_159793 ]
Dan Tran commented on WAGON-246:
--------------------------------
WAGON-255 is created to upgrade jackrabbit-webdav
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
> Fix For: 1.0-beta-5
>
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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] Issue Comment Edited: (WAGON-246) Wagon.getFilelist does not
work for WebDav
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159792#action_159792 ]
Dan Tran edited comment on WAGON-246 at 1/3/09 6:17 AM:
--------------------------------------------------------
jackrabbit-webdav-1.5.0 behaves much better.
The second issue is resolved, no work around needed.
The first issue will need some changes at getFileList to not ignore sub directory listing.
was (Author: danttran):
jackrabbit-webdav-1.5.0 behaves much better.
The second issue is resolved, now work around needed.
The first issue will need some changes at getFileList to not ignore sub directory listing.
> Wagon.getFilelist does not work for WebDav
> ------------------------------------------
>
> Key: WAGON-246
> URL: http://jira.codehaus.org/browse/WAGON-246
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-webdav
> Affects Versions: 1.0-beta-4
> Environment: xp, maven 2.1 M1
> Reporter: Dan Tran
> Fix For: 1.0-beta-5
>
>
> - getFilelist with URL at the root of dav ( https://dav.codehaus.org/snapshots.repository/mojo ) return ".DS_Store"
> - getFilelist with URL at the root of dav + path/to/validdirectory throws exception:
> Embedded error: Destination path exists but is not a WebDAV collection (directory):
> https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT
> details is here
> http://www.nabble.com/About-wagon-jackrabit%27s-webdav-td19926351.html
--
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