|
Lines 53-58
Link Here
|
| 53 |
private static WorkspaceTaskScanner _instance = null; |
53 |
private static WorkspaceTaskScanner _instance = null; |
| 54 |
static final String SYNTHETIC_TASK = "org.eclipse.wst.sse.task-synthetic"; |
54 |
static final String SYNTHETIC_TASK = "org.eclipse.wst.sse.task-synthetic"; |
| 55 |
static final String MODIFICATION_STAMP = "org.eclipse.wst.sse.modification-stamp"; |
55 |
static final String MODIFICATION_STAMP = "org.eclipse.wst.sse.modification-stamp"; |
|
|
56 |
private boolean proceed = false; |
| 56 |
|
57 |
|
| 57 |
static synchronized WorkspaceTaskScanner getInstance() { |
58 |
static synchronized WorkspaceTaskScanner getInstance() { |
| 58 |
if (_instance == null) { |
59 |
if (_instance == null) { |
|
Lines 283-289
Link Here
|
| 283 |
finally { |
284 |
finally { |
| 284 |
progressMonitor.worked(1); |
285 |
progressMonitor.worked(1); |
| 285 |
} |
286 |
} |
| 286 |
if (markerAttributeMaps != null && markerAttributeMaps.length > 0) { |
287 |
if (proceed &&markerAttributeMaps != null && markerAttributeMaps.length > 0) { |
| 287 |
if (Logger.DEBUG_TASKS) { |
288 |
if (Logger.DEBUG_TASKS) { |
| 288 |
System.out.println("" + markerAttributeMaps.length + " tasks for " + file.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ |
289 |
System.out.println("" + markerAttributeMaps.length + " tasks for " + file.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ |
| 289 |
} |
290 |
} |
|
Lines 332-341
Link Here
|
| 332 |
if (Logger.DEBUG_TASKSOVERALLPERF) { |
333 |
if (Logger.DEBUG_TASKSOVERALLPERF) { |
| 333 |
time0 = System.currentTimeMillis(); |
334 |
time0 = System.currentTimeMillis(); |
| 334 |
} |
335 |
} |
| 335 |
if (init(project)) { |
336 |
proceed = init(project); |
| 336 |
internalScan(project, project, scanMonitor); |
337 |
internalScan(project, project, scanMonitor); |
| 337 |
shutdownDelegates(project); |
338 |
shutdownDelegates(project); |
| 338 |
} |
339 |
|
| 339 |
if (Logger.DEBUG_TASKSOVERALLPERF) { |
340 |
if (Logger.DEBUG_TASKSOVERALLPERF) { |
| 340 |
System.out.println("" + (System.currentTimeMillis() - time0) + "ms for " + project.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ |
341 |
System.out.println("" + (System.currentTimeMillis() - time0) + "ms for " + project.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ |
| 341 |
} |
342 |
} |