1
0
Fork 0
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:
David Inglis 2003-09-17 03:07:01 +00:00
parent 2d9d50bb2e
commit 3949e8e7db

View file

@ -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);