if (myXcodeProject != null) { myXcodeProject.addResourceFolderReference(resourcePath); } if (myXcodeProjProject != null) { myXcodeProjProject.addResourceFolderReference(resourcePath); }
if (! _resource.getName().endsWith("~")) { if (myXcodeProject != null) { myXcodeProject.addResourceFolderReference(resourcePath); } if (myXcodeProjProject != null) { myXcodeProjProject.addResourceFolderReference(resourcePath); } }
	public void handleWoappResources(IResource _resource,			IProgressMonitor _progressMonitor, Map _buildCache) {		String resourcePath = _resource.getLocation().toOSString();		// System.out.println("DotXcodeBuilder.handleWoappResources: " +		// resourcePath + ", " + (_resource instanceof IFolder));		if (_resource instanceof IFolder) {			if (myXcodeProject != null) {				myXcodeProject.addResourceFolderReference(resourcePath);			}			if (myXcodeProjProject != null) {				myXcodeProjProject.addResourceFolderReference(resourcePath);			}		} else if (_resource instanceof IFile) {			IContainer parent = _resource.getParent();			boolean addResourceFileReference = true;			if (parent != null) {				String parentName = parent.getName().toLowerCase();				if (parentName.endsWith(".eomodeld")						|| parentName.endsWith(".wo")) {					addResourceFileReference = false;				}			}			if (addResourceFileReference) {				if (myXcodeProject != null) {					myXcodeProject.addResourceFileReference(resourcePath);				}				if (myXcodeProjProject != null) {					myXcodeProjProject.addResourceFileReference(resourcePath);				}			}		}	}