You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Oliver Zeigermann <oz...@c1-fse.de> on 2004/07/05 17:36:24 UTC

External Transactions: Client side implementation

Just checked in the Client Side of it all. This is still pretty 
rudimentary and a bit ugly. Sorry for that, I will clean it ASAP.

For now you can try something like this with the command line client

(1) connect http://localhost:8888/slide

(2) cd files

(3) ls
> .classpath                hertha.xml

(4) begin
> Starting transaction succeeded.
> Handle: 'opaquelocktoken:f6c52cd13e615e0570d87071fe84fe34'

(5) put .project
> Uploading  'E:\workspace\Slide HEAD\.project' to '/slide/files/.project' succeeded.

(6) ls
> .project                  .classpath                hertha.xml

(7) abort
> Rolling back transaction: 'opaquelocktoken:f6c52cd13e615e0570d87071fe84fe34' succeeded.

(8) ls
> .classpath                hertha.xml

(9) begin
> Starting transaction succeeded.
> Handle: 'opaquelocktoken:080f03874b9d68c7f802f7a6603da146'

(10) put .project
> Uploading  'E:\workspace\Slide HEAD\.project' to '/slide/files/.project' succeeded.

(11) ls
> .project                  .classpath                hertha.xml

(12) commit
> Committing transaction: 'opaquelocktoken:080f03874b9d68c7f802f7a6603da146' succeeded.

(13) ls
> .project                  .classpath                hertha.xml


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org