mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
update
This commit is contained in:
parent
bd3f9a8b37
commit
393dce00d8
2 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,6 @@ public class MakeBuilder extends ACBuilder {
|
||||||
monitor.subTask(MakeCorePlugin.getResourceString("MakeBuilder.Updating_project")); //$NON-NLS-1$
|
monitor.subTask(MakeCorePlugin.getResourceString("MakeBuilder.Updating_project")); //$NON-NLS-1$
|
||||||
|
|
||||||
try {
|
try {
|
||||||
currProject.refreshLocal(IResource.DEPTH_INFINITE, null);
|
|
||||||
// Do not allow the cancel of the refresh, since the builder is external
|
// Do not allow the cancel of the refresh, since the builder is external
|
||||||
// to Eclipse, files may have been created/modified and we will be out-of-sync.
|
// to Eclipse, files may have been created/modified and we will be out-of-sync.
|
||||||
// The caveat is for hugue projects, it may take sometimes at every build.
|
// The caveat is for hugue projects, it may take sometimes at every build.
|
||||||
|
|
|
@ -121,6 +121,8 @@ public class MakeTarget implements IMakeTarget {
|
||||||
info.setFullBuildEnable(true);
|
info.setFullBuildEnable(true);
|
||||||
info.setFullBuildTarget(target);
|
info.setFullBuildTarget(target);
|
||||||
info.setBuildLocation(container.getLocation());
|
info.setBuildLocation(container.getLocation());
|
||||||
|
IMakeBuilderInfo projectInfo = MakeCorePlugin.createBuildInfo(project, builderID);
|
||||||
|
info.setErrorParsers(projectInfo.getErrorParsers());
|
||||||
project.build(IncrementalProjectBuilder.FULL_BUILD, builderID, infoMap, monitor);
|
project.build(IncrementalProjectBuilder.FULL_BUILD, builderID, infoMap, monitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue