If you want Slide can support version control, you must set property 
org.apache.slide.versioncontrol to 'true' in slide.properties.(true is default).
 
Then, you should configure Domail.xml in which there are two related items: 
auto-version-control and auto-version, both of which obey WebDav version's defination 
by Network Working Group,named rfc3253.
 
auto-version-control:
If you hope that slide adds to file to version control automatically when you put a 
file, you should set this property to true; if you set it to false, you must call  
WebdavResource's  versionControlMethod() method after putMethod calling in your code 
to add the file into slide's version control.
 
auto-version: 
Generally, you may set this propery to 'checkout-checkin', which means slide does 
checkout and checkin operation for you when you update a new version to slide. On the 
other hand, if you set this property to "", you must call WebdavResource's 
checkoutMethod() and checkinMethod() to archieve such function, which looks like 
following in your code:
 
  webdavResource.checkoutMethod(fileUri);
  webdavResource.putMethod();
  webdavResource.checkinMethod(fileUri);
 
As for other configure, you may refer to rfc3253 
 
regards
Yong
 
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 19, 2004 5:21 PM
Subject: Version Control



Hi everyone,

Could someone point me to some examples on using version control with the
slide client API?

Thanx in advance,

Paulo Albuquerque




---------------------------------
Do You Yahoo!?
嫌邮箱太小?雅虎电邮自助扩容!

Reply via email to