1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00
This commit is contained in:
David Inglis 2003-09-04 20:23:11 +00:00
parent bd3f9a8b37
commit 393dce00d8
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

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