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

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Sat Mar 17 16:26:47 EDT 2012


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

Andrew Rubinger updated SHRINKWRAP-348:
---------------------------------------

           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 1.1.0-alpha-X
       Resolution: Done


Upstream: https://github.com/shrinkwrap/shrinkwrap/commit/2e7e2a234876fabccab348a6cf1184ba517d4cd7
                
> 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
>    Affects Versions: 1.0.0-cr-2
>            Reporter: Geoffrey De Smet
>            Assignee: Tommy Tynjä
>            Priority: Minor
>             Fix For: 1.1.0-alpha-X
>
>
> 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