View | Details | Raw Unified | Return to bug 166449
Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/JavaProject.java (+9 lines)
Lines 2740-2745 Link Here
2740
	}
2740
	}
2741
2741
2742
	/**
2742
	/**
2743
	 * Clear all classpath markers and check the classpath again.
2744
	 * Add markers for any problems that still remain.
2745
	 */
2746
	public void recomputeClasspathProblemMarkers() {
2747
		flushClasspathProblemMarkers(true, true);
2748
		updateClasspathMarkers(null, null);
2749
	}
2750
	
2751
	/**
2743
	 * Removes the given builder from the build spec for the given project.
2752
	 * Removes the given builder from the build spec for the given project.
2744
	 */
2753
	 */
2745
	protected void removeFromBuildSpec(String builderID) throws CoreException {
2754
	protected void removeFromBuildSpec(String builderID) throws CoreException {
(-)model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java (+4 lines)
Lines 600-605 Link Here
600
600
601
	// Abort build only if there are classpath errors
601
	// Abort build only if there are classpath errors
602
	if (isClasspathBroken(javaProject.getRawClasspath(), currentProject)) {
602
	if (isClasspathBroken(javaProject.getRawClasspath(), currentProject)) {
603
		// second chance - compilation participants might have fixed a problem during initializeBuilder()
604
		javaProject.recomputeClasspathProblemMarkers();
605
	}
606
	if (isClasspathBroken(javaProject.getRawClasspath(), currentProject)) {
603
		if (DEBUG)
607
		if (DEBUG)
604
			System.out.println("Aborted build because project has classpath errors (incomplete or involved in cycle)"); //$NON-NLS-1$
608
			System.out.println("Aborted build because project has classpath errors (incomplete or involved in cycle)"); //$NON-NLS-1$
605
609

Return to bug 166449