You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by bu...@apache.org on 2007/05/22 01:09:10 UTC

DO NOT REPLY [Bug 42478] New: - WebDAV/WebAdmin code

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478

           Summary: WebDAV/WebAdmin code
           Product: Xindice
           Version: cvs head (1.1)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Server
        AssignedTo: xindice-dev@xml.apache.org
        ReportedBy: nshilenkova@gmail.com


This is a patch to integrate existing Webadmin code from scratchpad to main
codebase. Changes include removing avalon/excalibur libraries, adding multiple
database support, cleanup. 

WebAdmin code was moved from scratchpad to java/src, new files were added,
several files were removed... This makes it difficult to create a patch, instead
I will attach archive with all files that are related to WebAdmin + patch to
existing code. If there is a better way, please let me know.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478


vgritsenko@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From vgritsenko@apache.org  2007-05-24 18:47 -------
patch applied. please verify!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From nshilenkova@gmail.com  2007-05-21 16:15 -------
Created an attachment (id=20230)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20230&action=view)
webdav.patch


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From nshilenkova@gmail.com  2007-05-21 16:22 -------
Created an attachment (id=20231)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20231&action=view)
webadmin.tgz

This is an archive with all files that are new/moved to a new location.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478


vgritsenko@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From vgritsenko@apache.org  2007-05-23 18:00 -------
I see that in the patch, there are changes to the filer interface and its
implementations. Can you summarize non trivial changes to core code - what is
the change and what is the desired effect. Thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From nshilenkova@gmail.com  2007-05-29 15:43 -------
(In reply to comment #5)
> patch applied. please verify!
Couple of files should be deleted as they are no longer needed:
java/src/org/apache/xindice/webadmin/util/MimeTypes.xml
java/src/org/apache/xindice/webadmin/WebAdmin.xconf
java/src/org/apache/xindice/webadmin/WebAdmin.xlog

Other than that, everything looks OK.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478


vgritsenko@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From vgritsenko@apache.org  2007-06-06 16:58 -------
Stefan fixed gump so we are cool.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From nshilenkova@gmail.com  2007-05-24 06:33 -------
(In reply to comment #3)
> I see that in the patch, there are changes to the filer interface and its
> implementations. Can you summarize non trivial changes to core code - what is
> the change and what is the desired effect. Thanks!

Sure. The changes were discussed on dev list [1] and include the following:
1. Collection's insert and set are separated.

2. Collection getEntry() method returns Entry class that holds object, its
record-level meta and key. This change triggered additional changes in
DocumentCache class to store Entries instead of objects.

3. As you noticed, Filer interface was modified and method writeRecord() returns
Record instead of boolean. This was done to allow Collection to cache just
written record, as it was done before with a plain object, and required meta
information to be returned. Also, as a side effect, it allows to store same
creation/modification time for the record in meta collection. The previously
returned boolean was only actually used in one Filer implementation, FSFiler,
but returned value was never checked by Collection anyway, so xml-rpc client
would never get any indication that something failed.

4. Filer's readRecord() method got an additional parameter to instruct it to
read record metadata only.

[1] http://marc.info/?l=xindice-dev&m=117875003317965&w=2


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From vgritsenko@apache.org  2007-05-31 19:44 -------
Todd - do you refer to gump build errors or you are seeing it locally on your box?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478


byrne@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From byrne@apache.org  2007-05-31 22:33 -------
(In reply to comment #9)
> (In reply to comment #8)
> > Todd - do you refer to gump build errors or you are seeing it locally on
your box?
> 
> Gump build errors from the last few days.
> 
> Todd

SVN trunk builds so its just Gump thats having issues.

Todd

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478


byrne@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From byrne@apache.org  2007-05-30 16:58 -------
There are some build issues. Is there a jar that didn't get checked in or some
extra classes?

Following is the compile output.


   [javac] location: class
org.apache.xindice.webadmin.viewer.components.MetadataResourceViewer
   [javac]                     FileItem item = (FileItem) iter.next();
   [javac]                     ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/MetadataResourceViewer.java:112:
cannot find symbol
   [javac] symbol  : class FileItem
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.MetadataResourceViewer
   [javac]                     FileItem item = (FileItem) iter.next();
   [javac]                                      ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/MetadataResourceViewer.java:114:
cannot find symbol
   [javac] symbol  : class FileItem
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.MetadataResourceViewer
   [javac]                         FileItem uploadFile = null;
   [javac]                         ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/MetadataResourceViewer.java:125:
cannot find symbol
   [javac] symbol  : class FileUploadException
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.MetadataResourceViewer
   [javac]             } catch (FileUploadException e) {
   [javac]                      ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/UploadCollectionViewer.java:72:
cannot find symbol
   [javac] symbol  : class DiskFileUpload
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.UploadCollectionViewer
   [javac]             DiskFileUpload upload = new DiskFileUpload();
   [javac]             ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/UploadCollectionViewer.java:72:
cannot find symbol
   [javac] symbol  : class DiskFileUpload
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.UploadCollectionViewer
   [javac]             DiskFileUpload upload = new DiskFileUpload();
   [javac]                                         ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/UploadCollectionViewer.java:85:
cannot find symbol
   [javac] symbol  : class FileUploadException
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.UploadCollectionViewer
   [javac]             } catch (FileUploadException e) {
   [javac]                      ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/UploadCollectionViewer.java:113:
cannot find symbol
   [javac] symbol  : class FileItem
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.UploadCollectionViewer
   [javac]             FileItem item = (FileItem) iter.next();
   [javac]             ^
   [javac]
/x1/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/webadmin/viewer/components/UploadCollectionViewer.java:113:
cannot find symbol
   [javac] symbol  : class FileItem
   [javac] location: class
org.apache.xindice.webadmin.viewer.components.UploadCollectionViewer
   [javac]             FileItem item = (FileItem) iter.next();

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42478] - WebDAV/WebAdmin code

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42478





------- Additional Comments From byrne@apache.org  2007-05-31 22:21 -------
(In reply to comment #8)
> Todd - do you refer to gump build errors or you are seeing it locally on your box?

Gump build errors from the last few days.

Todd

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.