[
https://issues.jboss.org/browse/SHRINKWRAP-135?page=com.atlassian.jira.pl...
]
Aslak Knutsen commented on SHRINKWRAP-135:
------------------------------------------
Maybe a simpler solution to full tx semantics could be to register a ExceptionListener or
similar to the Domain / Archive. The Default impl throws a Exception, but you can set your
own and ignore/custom handle the exception if you wanted?
public interface ExceptionListener
{
void failed(ArchivePath, Exception)
}
Your archive is still in a inconsistent state, but at least you're somewhat in control
of how to handle it/and what went wrong (with the option to continue).
e.g. ClassNotFound, fine but move on.
Archive.addDirectories is not atomic
------------------------------------
Key: SHRINKWRAP-135
URL:
https://issues.jboss.org/browse/SHRINKWRAP-135
Project: ShrinkWrap
Issue Type: Bug
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
Attachments: SHRINKWRPAP-135.txt
Must either fail or succeed for all directories, not be left in inconsistent state. This
problem is described by German in the linked Forum post.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira