Lines 3960-3985
Link Here
|
3960 |
if (VERBOSE) |
3960 |
if (VERBOSE) |
3961 |
traceVariableAndContainers("Saved", start); //$NON-NLS-1$ |
3961 |
traceVariableAndContainers("Saved", start); //$NON-NLS-1$ |
3962 |
|
3962 |
|
3963 |
if (context.getKind() == ISaveContext.FULL_SAVE) { |
3963 |
switch(context.getKind()) { |
3964 |
// save non-chaining jar cache on snapshot/full save |
3964 |
case ISaveContext.FULL_SAVE : { |
3965 |
saveNonChainingJarsCache(); |
3965 |
// save non-chaining jar cache on snapshot/full save |
3966 |
|
3966 |
saveNonChainingJarsCache(); |
3967 |
// will need delta since this save (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=38658) |
3967 |
|
3968 |
context.needDelta(); |
3968 |
// will need delta since this save (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=38658) |
3969 |
|
3969 |
context.needDelta(); |
3970 |
// clean up indexes on workspace full save |
3970 |
|
3971 |
// (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=52347) |
3971 |
// clean up indexes on workspace full save |
3972 |
IndexManager manager = this.indexManager; |
3972 |
// (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=52347) |
3973 |
if (manager != null |
3973 |
IndexManager manager = this.indexManager; |
3974 |
// don't force initialization of workspace scope as we could be shutting down |
3974 |
if (manager != null |
3975 |
// (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93941) |
3975 |
// don't force initialization of workspace scope as we could be shutting down |
3976 |
&& this.workspaceScope != null) { |
3976 |
// (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93941) |
3977 |
manager.cleanUpIndexes(); |
3977 |
&& this.workspaceScope != null) { |
3978 |
} |
3978 |
manager.cleanUpIndexes(); |
3979 |
} |
3979 |
} |
3980 |
// clean up external folders on full save or snapshot |
3980 |
} |
3981 |
if (context.getKind() == ISaveContext.FULL_SAVE || context.getKind() == ISaveContext.SNAPSHOT) { |
3981 |
//$FALL-THROUGH$ |
3982 |
this.externalFoldersManager.cleanUp(null); |
3982 |
case ISaveContext.SNAPSHOT : { |
|
|
3983 |
// clean up external folders on full save or snapshot |
3984 |
this.externalFoldersManager.cleanUp(null); |
3985 |
} |
3983 |
} |
3986 |
} |
3984 |
|
3987 |
|
3985 |
IProject savedProject = context.getProject(); |
3988 |
IProject savedProject = context.getProject(); |