|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2001, 2009 IBM Corporation and others. |
2 |
* Copyright (c) 2001, 2010 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 19-24
Link Here
|
| 19 |
import java.util.Set; |
19 |
import java.util.Set; |
| 20 |
|
20 |
|
| 21 |
import org.eclipse.core.resources.IProject; |
21 |
import org.eclipse.core.resources.IProject; |
|
|
22 |
import org.eclipse.core.resources.IResource; |
| 22 |
import org.eclipse.core.resources.IResourceDelta; |
23 |
import org.eclipse.core.resources.IResourceDelta; |
| 23 |
import org.eclipse.core.resources.IncrementalProjectBuilder; |
24 |
import org.eclipse.core.resources.IncrementalProjectBuilder; |
| 24 |
import org.eclipse.core.runtime.CoreException; |
25 |
import org.eclipse.core.runtime.CoreException; |
|
Lines 27-32
Link Here
|
| 27 |
import org.eclipse.wst.validation.ValidationFramework; |
28 |
import org.eclipse.wst.validation.ValidationFramework; |
| 28 |
import org.eclipse.wst.validation.internal.ConfigurationManager; |
29 |
import org.eclipse.wst.validation.internal.ConfigurationManager; |
| 29 |
import org.eclipse.wst.validation.internal.InternalValidatorManager; |
30 |
import org.eclipse.wst.validation.internal.InternalValidatorManager; |
|
|
31 |
import org.eclipse.wst.validation.internal.MarkerManager; |
| 30 |
import org.eclipse.wst.validation.internal.ProjectConfiguration; |
32 |
import org.eclipse.wst.validation.internal.ProjectConfiguration; |
| 31 |
import org.eclipse.wst.validation.internal.ResourceConstants; |
33 |
import org.eclipse.wst.validation.internal.ResourceConstants; |
| 32 |
import org.eclipse.wst.validation.internal.ResourceHandler; |
34 |
import org.eclipse.wst.validation.internal.ResourceHandler; |
|
Lines 151-157
Link Here
|
| 151 |
// won't they have builders of their own. |
153 |
// won't they have builders of their own. |
| 152 |
IProject[] referenced = getAllReferencedProjects(project, null); |
154 |
IProject[] referenced = getAllReferencedProjects(project, null); |
| 153 |
if (ValidationFramework.getDefault().isSuspended(project) || |
155 |
if (ValidationFramework.getDefault().isSuspended(project) || |
| 154 |
ValManager.getDefault().isDisabled(project))return referenced; |
156 |
ValManager.getDefault().isDisabled(project)) { |
|
|
157 |
MarkerManager.getDefault().deleteMarkers(project, System.currentTimeMillis(), IResource.DEPTH_INFINITE); |
| 158 |
return referenced; |
| 159 |
} |
| 155 |
|
160 |
|
| 156 |
try { |
161 |
try { |
| 157 |
newBuild(kind, monitor); |
162 |
newBuild(kind, monitor); |