if (!root.isArchive()) {
//Load custom components from source directory
String wholePath = "/" + srcPath + "/" + pi.getPath().replace(".", "/");
IFolder folder = project.getFolder(wholePath);
if (folder.exists()) {
IResource[] fileList = folder.members();
for (IResource file : fileList) {
String fullPath = file.getFullPath().toString();
String classFile = fullPath.replace(".tml", ".java").substring(1);
classFile = classFile.substring(classFile.indexOf("/"));
if (fullPath.endsWith(".tml") && file.getType() == IResource.FILE