You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Anton Schoultz <AS...@RUBICO.COM> on 2002/07/10 09:18:07 UTC
RE: pointers?
Hi Peter,
Welcome back, hope you had a great vacation.
Thomas Schueppel got me on the right track with an updated Domain.xml.
I also spent a day setting up the entire environment so that I can
build slide from the nightly releases. It was a bit of a pain getting all
the
latest versions of the many jars, and took a while to set up the
build.properties file, BUT it was well worth it. Now I can get the
latest nightly release and do the build & deploy in a few minutes. :)
The setup is basically a once-off.
I'm using HSQL for both of the stores. Versioning is working, but I
still have a few things to clarify - mostly mis-understanding on my
part, and some configurational stuff.
At this stage we are looking at utilizing the client's webdavResource
class in particular. I have found some 'features' :) of the command-
line client. (which I use as a reference for my app)
- checkout,checkin and uncheckout are listed as commands in the help, but
return "invalid command" if you try them.
- report is shown in the help as having an optional 3rd parameter, but
the command gives a syntax error if you leave out the 3rd argument.
- "help /?" exits the command line
Regarding versioning, I see that with auto-versioning on, when a property
is changed for a given path, a new version is created - not quite what I
expected, but logical I suppose - treating the file and it's properties as
a unit. My earlier tests with lock/unlock showed the locking to be rather
short lived (2 mins in my test) - I'm looking to implement an exclusive
check-out, and had considered using properties to handle it (set
editor=whomever to lock and set editor="" to unlock with check-in.
any suggestions / pointers ?
Regards,
Anton Schoultz
-----Original Message-----
From: Nevermann, Dr., Peter [mailto:Peter.Nevermann@softwareag.com]
Sent: Tue 09 July 2002 21:46
To: 'Anton Schoultz'
Subject: RE: pointers?
Hi Anton,
I'm just returning from vacations. I'm sorry for all the trouble you have
been having with Slide versioning (DeltaV). As far as I understand, the main
problem was an outdated Domain.xml file you were working with (...few weeks
ago, we moved the DeltaV parameters within Domain.xml to be "global", i.e.
outside of the namespace definition).
With the correct Domain.xml now, the bellow mentioned IllegalStateException
shouldn't occur any more, right?
Regards,
Peter
> -----Original Message-----
> From: Anton Schoultz [mailto:ASchoultz@RUBICO.COM]
> Sent: Monday, June 24, 2002 15:22
> To: SLIDE User Group (E-mail)
> Subject: pointers?
>
>
> Hi
>
> I'm trying to make use of slide's WebDAV client code
> (webdavResource in
> particular) to communicate with SLIDE (via WebDAV servlet).
> We're looking to
> use version control,
> ie to do a check-out (exclusive) and check-in the updated file.
>
> When I try to execute the webdavResource.checkoutMethod I get
> "ava.lang.IllegalStateException: URI /history/1/1.0 is not a
> version URI"
>
> I'm running SLIDE (2002-06-20) under tomcat 4.0.3, my slide
> Domain.xml contains the following so should support versioning ? :-
>
> <!-- THIS ADDED AS PER PETER NEVERMANN'S SUGGESTIONS -->
> <definition>
> <store name="file">
> <nodestore
> classname="slidestore.file.XMLFileDescriptorsStore">
> <parameter
> name="rootpath">C:\Slide\Tomcat\metadatastore</parameter>
> </nodestore>
> <securitystore>
> <reference store="nodestore" />
> </securitystore>
> <lockstore>
> <reference store="nodestore" />
> </lockstore>
> <revisiondescriptorsstore>
> <reference store="nodestore" />
> </revisiondescriptorsstore>
> <revisiondescriptorstore>
> <reference store="nodestore" />
> </revisiondescriptorstore>
> <contentstore
> classname="slidestore.reference.FileContentStore">
> <parameter
> name="rootpath">C:\Slide\Tomcat\contentstore</parameter>
> <parameter name="version">true</parameter> <!--
> versioning true=ON
> -->
> <parameter
> name="resetBeforeStarting">false</parameter> <!-- keep
> content data after restart -->
> </contentstore>
> </store>
> <scope match="/" store="file" />
> </definition>
>
>
> What methods (of webdavResource) should I be using for the
> * check-out (exclusive lock, get latest to work area)
> * check-in (store modified file - as next version, release the lock)
>
> Any pointers, sugestions, ideas would be greatly appreciated.
>
> Many thanks
>
> Anton Schoultz
>
> Rubico (Pty) Ltd
> Cell Phone: +27 83 651 7191
> Tel: +27 (11) 808 1000
> Fax: +27 (11) 808 1101
> aschoultz@Rubico.com
> www.Rubico.com
>
> The Business Component Company
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: pointers?
Posted by Thomas Schueppel <t....@bit-side.com>.
hi again,
> Regarding versioning, I see that with auto-versioning on, when a property
> is changed for a given path, a new version is created - not quite what I
> expected, but logical I suppose - treating the file and it's properties as
> a unit. My earlier tests with lock/unlock showed the locking to be rather
> short lived (2 mins in my test) - I'm looking to implement an exclusive
> check-out, and had considered using properties to handle it (set
> editor=whomever to lock and set editor="" to unlock with check-in.
> any suggestions / pointers ?
Why don't You use the CHECKOUT and CHECKIN Methods of
DeltaV. IMO they are implemented in the server. You
just have to hack your own client to use them. CHECKIN
and CHECKOUT work fine.
l8r...
Thomas
--
Thomas Schüppel, bit~side GmbH Fon: +49+30+394054-28
Salzufer 14a, 10587 Berlin Fax: +49+30+394054-50
http://www.bit-side.com Email: t.schueppel@bit-side.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>