Hi, I'm working with the 2002-06-20 nightly build, running under tomcat 403. (JDK 1.3.1 on win2000)
My Domain.xml (attached) sets versioning on using
<parameter name="version">true</parameter>
I also have auto-versioning turned on
<auto-version>checkout-checkin</auto-version>
<auto-version-control>true</auto-version-control>
Using the corresponding client, I have been trying to store a test file
(test.txt)
and follow the versioning. I connect (localhost:8080/slide) and change to
the
files collection then
put test.txt test.txt
this works fine and I see a file in the /contentstore/files folder called
test.txt_1.0.
I then modify the file & re-put. The contents of test.txt_1.0 is updated,
but
I don't see any version history. (nor a history folder)
I tried to get a version history via the cmd line client, using "report path
x"
but all I get is this
[LOCALHOST] /slide/files/ $ report test.txt x
Getting version-tree Report of '/slide/files/test.txt':
http://localhost:8080/slide/files/test.txt
[LOCALHOST] /slide/files/ $
I get the same result irrespective of 'x'.
My objective is to do a "Check-out" (exclusive lock while user edits the
file)
then a Check-in (unlock, update & new version) - would also like to see a
list of
versions and retrieve a specific version (older copy)
Can anyone give me some pointers ? Please, pretty please :)
BTW I found some interesting "features" in the command line client -
1)type in "help /?" and it exits
2)type in "propput test.txt editor me" and it exists - should set property
"editor=me" for test.txt ?
3)checkout,checkin,uncheckout are listed in help, but give "Invalid command"
if you try it.
4)report path [<prop>] - if you omit the third parameter <prop> then you
get "Syntax Error"
5)report path x - seems to return the same result irrespective of the value
of x
Anton Schoultz
Rubico (Pty) Ltd
Cell Phone: +27 83 651 7191
Tel: +27 (11) 808 1000
Fax: +27 (11) 808 1101
[EMAIL PROTECTED]
www.Rubico.com
The Business Component Company
<<Domain.xml>>
Domain.xml
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
