You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2010/08/03 04:31:43 UTC

svn commit: r981726 - /continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt

Author: ctan
Date: Tue Aug  3 02:31:43 2010
New Revision: 981726

URL: http://svn.apache.org/viewvc?rev=981726&view=rev
Log:
document webdav in build agent

Added:
    continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt

Added: continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt?rev=981726&view=auto
==============================================================================
--- continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt (added)
+++ continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt Tue Aug  3 02:31:43 2010
@@ -0,0 +1,25 @@
+--------------------
+WebDAV support for working copies
+--------------------
+
+The WebDAV support is added in the continuum build agent only for retrieving the working copies of porjects.
+
+
+You can use Sardine http://code.google.com/p/sardine/ for the WebDAV client.
+
+The first sample will retrieve the directory listing for the project with id of 1.
+
+Sample 1:
+
+Sardine sardine = SardineFactory.begin();
+List<DavResource> resources = sardine.getResources( "http://buildagenturl/workingcopy/1/" );
+
+
+The next sample will get an InputStream reference to a remote file.
+
+Sample 2:
+
+Sardine sardine = SardineFactory.begin();
+InputStream is = sardine.getInputStream( "http://buildagenturl/workingcopy/1/pom.xml" );
+
+