if (fileToAdd .getParentFile() .getParentFile() .getName() .equals(WOVariables.webServerResourcesDirName())) {
if (parentParentDirName.equals(WOVariables.webServerResourcesDirName())) { return null; }   if(!"Java".equals(parentDirName) || !"Resources".equals(parentParentDirName)){
		protected FileSystemElement createElement(			FileSystemElement parent,			Object fileSystemObject)			throws InterruptedException {			FileSystemElement toReturn =				super.createElement(parent, fileSystemObject);			if (fileSystemObject != null) {				File fileToAdd = (File) fileSystemObject;				if (fileToAdd.isFile()					&& "jar".equals(getExtensionFor(fileToAdd.getName()))) {					// must be jar (see above), ensure no web server resources are added					if (fileToAdd						.getParentFile()						.getParentFile()						.getName()						.equals(WOVariables.webServerResourcesDirName())) {						return null;					}					IClasspathEntry[] resolvedOldClasspathEntries;					try {						resolvedOldClasspathEntries =							projectToUpdate.getResolvedClasspath(true);					} catch (JavaModelException e) {						WOLipsPlugin.handleException(							part.getSite().getShell(),							e,							null);						return null;					}					// now look through resolved old class path entries and deny entries already set					for (int i = 0;						i < resolvedOldClasspathEntries.length;						i++) {						if (resolvedOldClasspathEntries[i]							.getPath()							.toFile()							.equals(fileToAdd)) {							return null;						}					}				}			}			return toReturn;		}