[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-348) Deleting a directory specified by a File with a trailing slash does not work
Geoffrey De Smet (Created) (JIRA)
jira-events at lists.jboss.org
Thu Oct 27 10:28:45 EDT 2011
Deleting a directory specified by a File with a trailing slash does not work
----------------------------------------------------------------------------
Key: SHRINKWRAP-348
URL: https://issues.jboss.org/browse/SHRINKWRAP-348
Project: ShrinkWrap
Issue Type: Bug
Reporter: Geoffrey De Smet
Priority: Minor
We have a directory gwtutil with 10+ classes in there, which we want to delete from the archive
This does nothing, it does not even fail-fast:
{code}
webArchive.delete(ArchivePaths.create("WEB-INF/classes/org/drools/guvnor/gwtutil/"));
{code}
This does work:
{code}
webArchive.delete(ArchivePaths.create("WEB-INF/classes/org/drools/guvnor/gwtutil"));
{code}
The difference is the absence of the trailing /.
Using arquillian bom CR5
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list