Skip to content

Commit 1fac3fa

Browse files
author
Alexander Tretyakevich
committed
G5V8DT-24042: Запуск билда без ожидания всего WS
Для защиты от блокировки нескольких проектов во время ожидания
1 parent dc6d711 commit 1fac3fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/com.e1c.v8codestyle.bsl.itests/src/com/e1c/v8codestyle/bsl/check/itests/AbstractSingleModuleTestBase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.eclipse.core.resources.IFile;
2626
import org.eclipse.core.resources.IProject;
2727
import org.eclipse.core.resources.IResource;
28+
import org.eclipse.core.resources.IncrementalProjectBuilder;
2829
import org.eclipse.core.resources.ResourcesPlugin;
2930
import org.eclipse.core.runtime.CoreException;
3031
import org.eclipse.core.runtime.NullProgressMonitor;
@@ -200,7 +201,8 @@ protected void updateModule(String pathToResource) throws Exception
200201
file.create(in, true, new NullProgressMonitor());
201202
}
202203
}
203-
testingWorkspace.buildWorkspace();
204+
ResourcesPlugin.getWorkspace().build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);
205+
204206
// As well as AUTO_BUILD-family job is being scheduled synchronously
205207
// So all we need is to wait for auto-build job is being finished
206208
// And also a little protection from direct file changes (without Eclipse

0 commit comments

Comments
 (0)