use of org.kie.workbench.common.services.backend.compiler.impl.WorkspaceCompilationInfo in project kie-wb-common by kiegroup.
the class DefaultRemoteExecutor method internalBuild.
private CompletableFuture<KieCompilationResponse> internalBuild(String projectPath, String mavenRepoPath, boolean skipProjectDepCreation, String[] args) {
WorkspaceCompilationInfo info = new WorkspaceCompilationInfo(Paths.get(projectPath));
AFCompiler compiler = getCompiler(projectPath);
CompilationRequest req = new DefaultCompilationRequest(mavenRepoPath, info, args, skipProjectDepCreation);
return runInItsOwnThread(compiler, req);
}
use of org.kie.workbench.common.services.backend.compiler.impl.WorkspaceCompilationInfo in project kie-wb-common by kiegroup.
the class DefaultRemoteExecutor method setupCompileInfo.
private CompilerAggregateEntryCache setupCompileInfo(String workingDir) {
AFCompiler compiler = new KieAfterDecorator(new OutputLogAfterDecorator(new ClasspathDepsAfterDecorator(new BaseMavenCompiler(true, true))));
WorkspaceCompilationInfo info = new WorkspaceCompilationInfo(Paths.get(workingDir));
return new CompilerAggregateEntryCache(compiler, info);
}
Aggregations