You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Harri T." <ha...@gmail.com> on 2009/10/13 07:30:15 UTC

Using the WebDAV library component

Hi! The Jacrabbit WebDAV component [1] "provides interfaces and common 
utility classes used for building a WebDAV server or client". What is 
the minimal set of Jackrabbit JARs needed for a WebDAV client 
application? See the list of all JARs below.

-Harri

[1] http://jackrabbit.apache.org/jackrabbit-webdav-library.html

unzip -t jackrabbit-webapp-1.6.0.war | fgrep '.jar' | sort
    testing: WEB-INF/lib/commons-codec-1.2.jar   OK
    testing: WEB-INF/lib/commons-collections-3.1.jar   OK
    testing: WEB-INF/lib/commons-fileupload-1.2.1.jar   OK
    testing: WEB-INF/lib/commons-httpclient-3.0.jar   OK
    testing: WEB-INF/lib/commons-io-1.4.jar   OK
    testing: WEB-INF/lib/concurrent-1.3.4.jar   OK
    testing: WEB-INF/lib/derby-10.2.1.6.jar   OK
    testing: WEB-INF/lib/fontbox-0.1.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-api-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-core-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-jcr-commons-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-jcr-rmi-1.5.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-jcr-server-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-jcr-servlet-1.5.2.jar   OK
    testing: WEB-INF/lib/jackrabbit-spi-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-spi-commons-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-text-extractors-1.6.0.jar   OK
    testing: WEB-INF/lib/jackrabbit-webdav-1.6.0.jar   OK
    testing: WEB-INF/lib/jcl-over-slf4j-1.5.3.jar   OK
    testing: WEB-INF/lib/jempbox-0.2.0.jar   OK
    testing: WEB-INF/lib/log4j-1.2.14.jar   OK
    testing: WEB-INF/lib/lucene-core-2.4.1.jar   OK
    testing: WEB-INF/lib/nekohtml-1.9.7.jar   OK
    testing: WEB-INF/lib/pdfbox-0.7.3.jar   OK
    testing: WEB-INF/lib/poi-3.2-FINAL.jar   OK
    testing: WEB-INF/lib/poi-scratchpad-3.2-FINAL.jar   OK
    testing: WEB-INF/lib/slf4j-api-1.5.3.jar   OK
    testing: WEB-INF/lib/slf4j-log4j12-1.5.3.jar   OK
    testing: WEB-INF/lib/xercesImpl-2.8.1.jar   OK
    testing: WEB-INF/lib/xml-apis-1.3.03.jar   OK


Re: Using the WebDAV library component

Posted by "Harri T." <ha...@gmail.com>.
Hi Angela

And thank you for the answer! I'll check jackrabbit-webdav/pom.xml.

I should implement an application that retrieves a list of files and a 
single file from a WebDAV service. Do you know if I can use the classes 
http://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/webdav/client/methods/package-summary.html 
for this purpose? Is there any sample code for retrieving data from a 
WebDAV service in Jackrabbit source?

-Harri

On 13.10.2009 09:38 Angela Schreiber wrote:
> hi harry
>
> the jackrabbit webdav component is only one part included in
> the war file... all the rest are webdav implementations,
> jcr dependencies, jcr implementations etc.etc.
> in contrast the webdav component doesn't have a dependency
> the the jcr api.
>
> if you only want to user the webdav component you may
> take a look at the dependencies listed in the corresponding
> project (pom.xml)... that should give you a better idea.
>
> i don't know it by heart but for sure you need
>
> servlet-api and commons-httpclient and the logger api.
> if i remember correctly the project makes also use of
> non-jcr utitily classes present in the jcr-commons.
>
> regards
> angela
>
>
> Harri T. wrote:
>> Hi! The Jacrabbit WebDAV component [1] "provides interfaces and 
>> common utility classes used for building a WebDAV server or client". 
>> What is the minimal set of Jackrabbit JARs needed for a WebDAV client 
>> application? See the list of all JARs below.
>>
>> -Harri
>>
>> [1] http://jackrabbit.apache.org/jackrabbit-webdav-library.html
>>
>> unzip -t jackrabbit-webapp-1.6.0.war | fgrep '.jar' | sort
>>    testing: WEB-INF/lib/commons-codec-1.2.jar   OK
>>    testing: WEB-INF/lib/commons-collections-3.1.jar   OK
>>    testing: WEB-INF/lib/commons-fileupload-1.2.1.jar   OK
>>    testing: WEB-INF/lib/commons-httpclient-3.0.jar   OK
>>    testing: WEB-INF/lib/commons-io-1.4.jar   OK
>>    testing: WEB-INF/lib/concurrent-1.3.4.jar   OK
>>    testing: WEB-INF/lib/derby-10.2.1.6.jar   OK
>>    testing: WEB-INF/lib/fontbox-0.1.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-api-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-core-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-jcr-commons-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-jcr-rmi-1.5.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-jcr-server-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-jcr-servlet-1.5.2.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-spi-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-spi-commons-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-text-extractors-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jackrabbit-webdav-1.6.0.jar   OK
>>    testing: WEB-INF/lib/jcl-over-slf4j-1.5.3.jar   OK
>>    testing: WEB-INF/lib/jempbox-0.2.0.jar   OK
>>    testing: WEB-INF/lib/log4j-1.2.14.jar   OK
>>    testing: WEB-INF/lib/lucene-core-2.4.1.jar   OK
>>    testing: WEB-INF/lib/nekohtml-1.9.7.jar   OK
>>    testing: WEB-INF/lib/pdfbox-0.7.3.jar   OK
>>    testing: WEB-INF/lib/poi-3.2-FINAL.jar   OK
>>    testing: WEB-INF/lib/poi-scratchpad-3.2-FINAL.jar   OK
>>    testing: WEB-INF/lib/slf4j-api-1.5.3.jar   OK
>>    testing: WEB-INF/lib/slf4j-log4j12-1.5.3.jar   OK
>>    testing: WEB-INF/lib/xercesImpl-2.8.1.jar   OK
>>    testing: WEB-INF/lib/xml-apis-1.3.03.jar   OK
>>
>>
>
>


Re: Using the WebDAV library component

Posted by Angela Schreiber <an...@day.com>.
hi harry

the jackrabbit webdav component is only one part included in
the war file... all the rest are webdav implementations,
jcr dependencies, jcr implementations etc.etc.
in contrast the webdav component doesn't have a dependency
the the jcr api.

if you only want to user the webdav component you may
take a look at the dependencies listed in the corresponding
project (pom.xml)... that should give you a better idea.

i don't know it by heart but for sure you need

servlet-api and commons-httpclient and the logger api.
if i remember correctly the project makes also use of
non-jcr utitily classes present in the jcr-commons.

regards
angela


Harri T. wrote:
> Hi! The Jacrabbit WebDAV component [1] "provides interfaces and common 
> utility classes used for building a WebDAV server or client". What is 
> the minimal set of Jackrabbit JARs needed for a WebDAV client 
> application? See the list of all JARs below.
> 
> -Harri
> 
> [1] http://jackrabbit.apache.org/jackrabbit-webdav-library.html
> 
> unzip -t jackrabbit-webapp-1.6.0.war | fgrep '.jar' | sort
>    testing: WEB-INF/lib/commons-codec-1.2.jar   OK
>    testing: WEB-INF/lib/commons-collections-3.1.jar   OK
>    testing: WEB-INF/lib/commons-fileupload-1.2.1.jar   OK
>    testing: WEB-INF/lib/commons-httpclient-3.0.jar   OK
>    testing: WEB-INF/lib/commons-io-1.4.jar   OK
>    testing: WEB-INF/lib/concurrent-1.3.4.jar   OK
>    testing: WEB-INF/lib/derby-10.2.1.6.jar   OK
>    testing: WEB-INF/lib/fontbox-0.1.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-api-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-core-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-jcr-commons-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-jcr-rmi-1.5.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-jcr-server-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-jcr-servlet-1.5.2.jar   OK
>    testing: WEB-INF/lib/jackrabbit-spi-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-spi-commons-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-text-extractors-1.6.0.jar   OK
>    testing: WEB-INF/lib/jackrabbit-webdav-1.6.0.jar   OK
>    testing: WEB-INF/lib/jcl-over-slf4j-1.5.3.jar   OK
>    testing: WEB-INF/lib/jempbox-0.2.0.jar   OK
>    testing: WEB-INF/lib/log4j-1.2.14.jar   OK
>    testing: WEB-INF/lib/lucene-core-2.4.1.jar   OK
>    testing: WEB-INF/lib/nekohtml-1.9.7.jar   OK
>    testing: WEB-INF/lib/pdfbox-0.7.3.jar   OK
>    testing: WEB-INF/lib/poi-3.2-FINAL.jar   OK
>    testing: WEB-INF/lib/poi-scratchpad-3.2-FINAL.jar   OK
>    testing: WEB-INF/lib/slf4j-api-1.5.3.jar   OK
>    testing: WEB-INF/lib/slf4j-log4j12-1.5.3.jar   OK
>    testing: WEB-INF/lib/xercesImpl-2.8.1.jar   OK
>    testing: WEB-INF/lib/xml-apis-1.3.03.jar   OK
> 
>