String selfShareModeName = element.getAttribute("share-self");
if (selfShareModeName.length() > 0) {
selfSharingMode = ArtifactSharingMode.fromString(selfShareModeName);
}
ClasspathEntry selfEntry = new ClasspathEntry(new FileArtifactRef(moduleSource.getClassPathEntry()), selfSharingMode, moduleSource);
classpath.add(selfEntry);
Element classPathElement = DocumentHelper.getElementChild(element, "classpath", false);
if (classPathElement != null) {
Element[] classPathEls = DocumentHelper.getElementChildren(classPathElement);