You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/06/16 09:26:00 UTC

[jira] [Resolved] (SLING-4809) Filesystem classwriter does not delete directories

     [ https://issues.apache.org/jira/browse/SLING-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-4809.
-------------------------------------
    Resolution: Fixed

Solved by recursively deleting the directory

> Filesystem classwriter does not delete directories
> --------------------------------------------------
>
>                 Key: SLING-4809
>                 URL: https://issues.apache.org/jira/browse/SLING-4809
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: File System ClassLoader 1.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: File System ClassLoader 1.0.2
>
>
> If the classloader writer is instructred to delete a directory, e.g. by the jsp engine to remove all generated jsps, this fails, as a simply File#delete is used and that one only succeeds if the directory is empty.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)