commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS] Trying To Use WebDAV
Date Thu, 29 Apr 2010 00:56:02 GMT
Are you using VFS 1.0? If so I recommend you get the latest source from https://svn.apache.org/repos/asf/commons/proper/vfs/trunk
and build it. The webdav support in 1.0 was based on slide which has been retired. 2.0 uses
Jackrabbit and does not require jdom.  However, you will need to include a jackrabbit jar.
You can see what is required by looking in the pom.xml and looking for the webdav functional
test.  Unfortunately, 2.0 has not been formally released yet.

Ralph

On Apr 28, 2010, at 8:25 AM, Stewart-c, Theresa wrote:

> Hooray!  I made it past connecting, using the webdav4j example.....and
> eliminating the "http://" portion of the host data that I entered at the
> UI screen level.
> 
> I am now on to a java.lang.NoClassDefFoundError:
> org/jdom/input/DOMBuilder
> Error.
> 
> Theresa
> 
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@hotmail.com] 
> Sent: Tuesday, April 27, 2010 1:17 PM
> To: user@commons.apache.org
> Subject: RE: [VFS] Trying To Use WebDAV
> 
> 
> Guten Tag
> 
> on which container will you be implementing?
> 
> Martin 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung
> 
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig.
> Diese Nachricht dient lediglich dem Austausch von Informationen und
> entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
> Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt
> uebernehmen.
> 
> 
> 
> 
> 
> 
>> Subject: [VFS] Trying To Use WebDAV
>> Date: Tue, 27 Apr 2010 11:49:35 -0700
>> From: Theresa.Stewart-c@airliquide.com
>> To: user@commons.apache.org
>> 
>> Hi,
>> 
>> 
>> 
>> I was trying to use the following solution in order to obtain a
>> FileObject using the WebDAV protocol (posted earlier on a thread):
>> 
>> 
>> 
>> 
>> 
>>        WebdavFileSystemConfigBuilder builder =
>> 
>> 
>> 
> (WebdavFileSystemConfigBuilder)manager.getFileSystemConfigBuilder("webda
>> v");
>> 
>>        final String uri = System.getProperty(TEST_URI);
>> 
>>        FileSystemOptions opts = new FileSystemOptions();
>> 
>>        builder.setRootURI(opts, uri);
>> 
>>        return manager.resolveFile(uri, opts);
>> 
>> 
>> 
>> and found out that builder.setRootURI(opts,uri); is not a choice on
>> builder (not supported for the API I have).  Is there an alternative?
>> 
>> 
>> 
>> Is the TEST_URI the one constructed from:
>> 
>> 
>> 
>> Credentials credentials = credentialsBuilder.build();
>> 
>> String uri = credentials.toFileObjectURL();
>> 
>> 
>> 
>> Finally, how can the username and password be set?
>> 
>> 
>> 
>> Thanks,
>> 
>> Theresa
>> 
>> 
>> 
> 		 	   		  
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from
> your inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
> ON:WL:en-US:WM_HMP:042010_2
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message