mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
external build: processing maven resources (initial implementation, no filtering)
This commit is contained in:
@@ -85,6 +85,7 @@ import org.jetbrains.jps.api.GlobalOptions;
|
||||
import org.jetbrains.jps.api.RequestFuture;
|
||||
import org.jetbrains.jps.cmdline.BuildMain;
|
||||
import org.jetbrains.jps.cmdline.ClasspathBootstrap;
|
||||
import org.jetbrains.jps.incremental.Utils;
|
||||
|
||||
import javax.tools.*;
|
||||
import java.io.File;
|
||||
@@ -808,6 +809,12 @@ public class BuildManager implements ApplicationComponent{
|
||||
return new File(mySystemDirectory, SYSTEM_ROOT);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public File getProjectSystemDirectory(Project project) {
|
||||
final String projectPath = getProjectPath(project);
|
||||
return projectPath != null? Utils.getDataStorageRoot(getBuildSystemDirectory(), projectPath) : null;
|
||||
}
|
||||
|
||||
private static int getMinorVersion(String vs) {
|
||||
final int dashIndex = vs.lastIndexOf('_');
|
||||
if (dashIndex >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user