[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-348) Deleting a directory specified by a File with a trailing slash does not work

Tommy Tynjä (JIRA) jira-events at lists.jboss.org
Sat Mar 17 16:05:47 EDT 2012


     [ https://issues.jboss.org/browse/SHRINKWRAP-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommy Tynjä updated SHRINKWRAP-348:
-----------------------------------

              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/51

    
> 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
>            Assignee: Tommy Tynjä
>            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