You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Peter Coppens <pc...@gmail.com> on 2007/07/05 13:38:50 UTC

Commons Transaction - Directory as a resource

Hello,

I am just starting with the Commons Transaction API...so apologize my
ignorance.

Now, is there anyway I can create (transactionally) a directory? I have the
impression that directories are created (and removed as needed), but I would
like to create a directory structure transactionally.

I guess I could create a dummy resource (e.g. /a/b/c/.dirfile) for each
directory, but that seems a bit of a hack.

Tia,

Peter
-- 
View this message in context: http://www.nabble.com/Commons-Transaction---Directory-as-a-resource-tf4029183.html#a11444868
Sent from the Commons - User mailing list archive at Nabble.com.


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


Re: Commons Transaction - Directory as a resource

Posted by Oliver Zeigermann <ol...@zeigermann.de>.
Hi, Peter!

You are right. There is no way to transactionally create a directory :(

Oliver

2007/7/5, Peter Coppens <pc...@gmail.com>:
>
> Hello,
>
> I am just starting with the Commons Transaction API...so apologize my
> ignorance.
>
> Now, is there anyway I can create (transactionally) a directory? I have the
> impression that directories are created (and removed as needed), but I would
> like to create a directory structure transactionally.
>
> I guess I could create a dummy resource (e.g. /a/b/c/.dirfile) for each
> directory, but that seems a bit of a hack.
>
> Tia,
>
> Peter
> --
> View this message in context: http://www.nabble.com/Commons-Transaction---Directory-as-a-resource-tf4029183.html#a11444868
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

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