I also work on slide version, and I did the same way you mentioned here. How could I get the version information from the slide API? Thanks a lot. Haipeng
From: Yong Hu <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Version Control Date: Mon, 23 Aug 2004 13:43:39 +0800 (CST)
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!? ������̫С���Ż������������ݣ�
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
