Bug 24421 Better UI feedback when class path entries are missing [icons]
Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a long class path in the list. I would like to suggest having the list entry displayed in RED when a class path entry is missing. That would make it easy to spot. Red is pretty universal for "something is wrong" or "stop". Thank you for considering this request, Gary
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
fClassPathStatus.setOK();
		
		List elements= fClassPathList.getElements();
	
		boolean entryMissing= false;
		IClasspathEntry[] entries= new IClasspathEntry[elements.size()];
		for (int i= elements.size()-1 ; i >= 0 ; i--) {
			CPListElement currElement= (CPListElement)elements.get(i);
			boolean isChecked= fClassPathList.isChecked(currElement);
			if (currElement.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
				if (!isChecked) {
					fClassPathList.setCheckedWithoutUpdate(currElement, true);
				}
			} else {
				currElement.setExported(isChecked);
			}
			entries[i]= currElement.getClasspathEntry();
			entryMissing= entryMissing || currElement.isMissing();			
		}
				
		if (entryMissing) {
			fClassPathStatus.setWarning(NewWizardMessages.getString("BuildPathsBlock.warning.EntryMissing")); 
		}
				
		if (fCurrJProject.hasClasspathCycle(entries)) {
			fClassPathStatus.setWarning(NewWizardMessages.getString("BuildPathsBlock.warning.CycleInClassPath")); 
		}	
	}
	/**
	 * Validates output location & build path.