chevah/commons — pull request #18 by adiroiban (2012-12-27 15:25:45+00:00)
Title: 947 - Update cleanHomeFolder.

Problem description
===================

When home folder is not on D, folders can not be cleaned since for DefaultAvatar home folder is hardcoded in "c:/"

Why we got into this (5 whys)
=============================

To prevent accidental file deletion the clean method was limited to clean only inside home folder.

Changes description
===================

The restrictions for cleaning folders was relaxed on Windows to block only Windows and ProgramFiles.

On Linux only files from /srv/ /tmp and /home, /export can be removed.

I still need more details about why the test for #931 are failing for you.

If this can fix your problem, when we need first to release a new version from chevah-commons

How to try and test the changes
===============================

All tests should pass.

http://172.20.0.1:10088/builders/commons-all/builds/16