1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Check-in for bug 68485 - CoreException after creating a Managed C project

This commit is contained in:
Sean Evoy 2004-06-25 13:31:38 +00:00
parent 162af467d5
commit efcd048454
2 changed files with 7 additions and 14 deletions

View file

@ -48,9 +48,10 @@ MakefileGenerator.comment.source.list = All of the sources participating in the
MakefileGenerator.comment.build.rule = Each subdirectory must supply rules for building sources it contributes
MakefileGenerator.comment.module.make.includes = Include the makefiles for each source subdirectory
MakefileGenerator.comment.module.dep.includes = Include automatically-generated dependency list:
MakefileGenerator.comment.autodeps = Automatically-generated dependency list:
MakefileGenerator.comment.header = Automatically-generated file. Do not edit!
MakefileGenerator.error.spaces = Cannot generate makefile for folder with spaces in name
MakefileGenerator.comment.autodeps=Automatically-generated dependency list:
MakefileGenerator.comment.header=Automatically-generated file. Do not edit!
MakefileGenerator.error.spaces=Cannot generate makefile for folder with spaces in name
MakefileGenerator.warning.no.source=Nothing to build for project {0}
ManagedBuildInfo.message.job.init = Initializing path container for {0}
ManagedBuildInfo.message.init.ok = Initializing path container succeeded for {0}

View file

@ -791,7 +791,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
depFile.delete(true, new SubProgressMonitor(monitor, 1));
} catch (CoreException e) {
// This had better be allowed during a build
ManagedBuilderCorePlugin.log(e);
}
}
}
@ -811,7 +811,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
depFile.delete(true, new SubProgressMonitor(monitor, 1));
} catch (CoreException e) {
// This had better be allowed during a build
ManagedBuilderCorePlugin.log(e);
}
}
}
@ -866,7 +866,6 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
throw e;
} catch (IOException e) {
// Keep trying
ManagedBuilderCorePlugin.log(e);
continue;
}
}
@ -1229,7 +1228,6 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
firstLine = (String) deps.get(0);
} catch (ArrayIndexOutOfBoundsException e) {
// This makes no sense so bail
ManagedBuilderCorePlugin.log(e);
return;
}
@ -1522,7 +1520,6 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
throw e;
} catch (IOException e) {
// This looks like a problem reading or writing the file
ManagedBuilderCorePlugin.log(e);
continue;
}
}
@ -1541,12 +1538,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
// Populate the makefile if any source files have been found in the project
if (getSubdirList().isEmpty()) {
throw new CoreException(new Status(
IStatus.WARNING,
ManagedBuilderCorePlugin.getUniqueIdentifier(),
NO_SOURCE_FOLDERS,
new String(),
null));
monitor.subTask(ManagedMakeMessages.getFormattedString("MakefileGenerator.warning.no.source", project.getName())); //$NON-NLS-1$
}
// Create the top-level directory for the build output