:)... I have seen this question being asked so many times. I had myself
asked the same questions some time back...Just a piece of advice from
personal experience.. it would be of help if you refer the Webdav and DeltaV
specs when in doubt about any specific behavior.

Checkout just marks the resource as being checked-out. When another user
tries to checkout the same resource s/he gets a conflict error. So yes you
would have to explicitly get the resource for downloading it locally.
Similarly Checkin just creates a new version and unmarks the resource.
You could perform n no. of resource modifications between checkout-checkin
(using PUT or PROPPATCH), without creating a new version. In other words,
after checkout a new version will be created only when the checkin is
called.

Regards,
Ritu

-----Original Message-----
From: r d [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 12:13 PM
To: Slide Users Mailing List
Subject: RE: Checkin and checkout


Hi Ritu,
 
Yes. It started working after I set auto-version-control  to true in
Domain.xml.
 
I have some more queries.
For Checkout and checkin methods, there is only one parameter path.
Generally after checkout, we need to get working copy. Where does slide put
this?
Do I have to do explicit get after checkout?
Similarly for checkin, how do get the updated file in?
 
Thanks,
rd.

Ritu Kedia <[EMAIL PROTECTED]> wrote:
Check whether your versioncontrol property in slide.properties is true.
slide.properties is in slide-kernel.jar.
The following property should be set to true.
# Use version control (DeltaV)
# Default: true
org.apache.slide.versioncontrol=true 

Most likely that should be true since you say that you haven't changed
default properties.
Next your resource should be "put under version control" for
checkin-checkout to work. Use WebdavResource.versionControlMethod.
You could also set 
true

in Domain.xml, if you want every resource to be versioned by default.

Regards,
Ritu

-----Original Message-----
From: r d [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 11:11 AM
To: [EMAIL PROTECTED]
Subject: Checkin and checkout


Hi,
I am using Webdav client api.
It seems I can do get and put but not any checkin and checkout on
webdavresource. When I try, it says (405) method not allowed. What is the
problem?
Are there any specific steps before we can do checkout?
I have default slide configuration and have not changed any settings.

Thanks,
rd.


---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to