continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r981726 - /continuum/trunk/continuum-docs/src/site/apt/developer_guides/webdav.apt
Date Tue, 03 Aug 2010 02:31:43 GMT
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" );
+
+



Mime
View raw message