Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-348

Deleting a directory specified by a File with a trailing slash does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.0.0-cr-2
    • Fix Version/s: 1.1.0-alpha-1
    • Component/s: None
    • Labels:
      None

      Description

      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:

      webArchive.delete(ArchivePaths.create("WEB-INF/classes/org/drools/guvnor/gwtutil/"));
      

      This does work:

      webArchive.delete(ArchivePaths.create("WEB-INF/classes/org/drools/guvnor/gwtutil"));
      

      The difference is the absence of the trailing /.

      Using arquillian bom CR5

        Attachments

          Activity

            People

            Assignee:
            tommysdk Tommy Tynjä (Inactive)
            Reporter:
            ge0ffrey Geoffrey De Smet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: