mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
update cached info if present
This commit is contained in:
parent
2d9d50bb2e
commit
3949e8e7db
1 changed files with 5 additions and 0 deletions
|
@ -168,6 +168,11 @@ public class MakeScannerProvider extends AbstractCExtension implements IScannerI
|
|||
*/
|
||||
static void updateScannerInfo(MakeScannerInfo scannerInfo) throws CoreException {
|
||||
IProject project = scannerInfo.getProject();
|
||||
|
||||
// See if there's already one associated with the resource for this session
|
||||
if ( project.getSessionProperty(scannerInfoProperty) != null ) {
|
||||
project.setSessionProperty(scannerInfoProperty, scannerInfo);
|
||||
}
|
||||
|
||||
ICDescriptor descriptor = CCorePlugin.getDefault().getCProjectDescription(project);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue