|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Using WebDAV to Browse RepositoryI'm trying to build a process that browses (enumerates) our 2.0.0 repository via WebDAV, to perform certain automated functions. (I'm assuming that WebDAV is the best way to do it). The goal is to be able to walk through the tree of artifacts and fetch certain ones that are found.
However, I'm not clear on the exact URL to use and how the initial WebDAV command should be structured. I had expected that pointing the WebDAV client code to http://hostname/artifactory/libs-releases-local/ and executing a PROPFIND command, I'd get a list of the top-level items in the repository, but instead there is an HTTP 500 response with the exception below: java.lang.RuntimeException: The repository 'libs-releases-local' rejected the artifact 'libs-releases-local:' due to its include/exclude patterns settings. I am using the Jackrabbit WebDAV client implementation in my code. The PROPFIND method is being constructed as: new PropFindMethod(propfindUri, DavConstants.PROPFIND_ALL_PROP, DavConstants.DEPTH_1) where "propfindUri" is the URL I mentioned above. Any suggestions on how to accomplish this? |
|
|
Re: Using WebDAV to Browse RepositoryYou are right - there's a bug with listing the root directory of a repo. It is already fixed on the trunk (http://issues.jfrog.org/jira/browse/RTFACT-1691).
Thanks for reporting this. Yoav On Thu, May 14, 2009 at 6:32 PM, jonnyt <jonathan.taylor@...> wrote:
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Free embeddable forum powered by Nabble | Forum Help |