container/components/components/src/main/java/org/mobicents/slee/container/component/deployment/DeployableUnitImpl.java
private void deletePath(File path) {
		if (path.isDirectory()) {
			File[] files = path.listFiles();
			if (files != null) {
				for (File file : files) {
					deletePath(file);
				}
			}
		}
		path.delete();
	}
private void deletePath(File path) {
		if (path.isDirectory()) {
			File[] files = path.listFiles();
			if (files != null) {
				for (File file : files) {
					deletePath(file);
				}
			}
		}
		path.delete();
	}
private void deletePath ( File path ) { if ( path . isDirectory ( ) ) { File [ ] files = path . listFiles ( ) ; if ( files != null ) { for ( File file : files ) { deletePath ( file ) ; } } } path . delete ( ) ; }
deletes the whole path, going through directories

@param path
deletes the whole path going through directories