You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Clemens Renner <re...@cs.uni-potsdam.de> on 2007/07/12 11:33:48 UTC
Directory listings from Document Mgmt System missing directories
Hi everyone,
I am trying to list the contents of a directory in a document mgmt
system (Xythos) which appears to be implementing WebDAV correctly as
tests e.g. using DAVExplorer (http://www.davexplorer.org) worked flawlessly.
What I am doing is simply a list() call on the WebDavResource
representing the directory in question. What I get as a result is a list
of file names within that directory, along with the directory name
itself. However, the directories contained within that directory are not
included in the ouput.
I have also tried using listWebdavResources() and getChildResources() --
but without success.
Do I need to set any specific parameter to have the sub-directories of
that directory included in the listing? Am I missing something? I have
also played with the DepthSupport options but to no avail.
An example:
Say you have this directory structure:
Dir1
|-- file1
|-- file2
+-- SubDir1
+-- SubDir2
Ignoring the full path names, I would expect list() to return
{ "file1", "file2", "SubDir1", "SubDir2" }
but instead I get
{ "Dir1", "file1", "file2" }
not necessarily in the given order.
Any help is appreciated!
Clemens
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Directory listings from Document Mgmt System missing directories
Posted by Clemens Renner <re...@cs.uni-potsdam.de>.
My apologies,
I see this has already been discussed in a bug report
http://issues.apache.org/bugzilla/show_bug.cgi?id=32886
and it appears that this issue has been fixed in 2.2pre1 (SVN).
Clemens
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org