if (files != null) {
for (int i = 0;i < files.length;i++) {
if (files[i].isDirectory()) {
Descriptor root = AutoDeploymentService.buildDescriptor(files[i]);
if (root != null) {
SharedLibrary sl = root.getSharedLibrary();
if (sl != null) {
try {
classLoaderService.addSharedLibrary(files[i], sl);
}
catch (MalformedURLException e) {