mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
standalone jps updated: load path variables specified in gant scripts
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<include name="oromatcher.jar"/>
|
||||
<include name="cli-parser-*.jar"/>
|
||||
<include name="nanoxml-*.jar"/>
|
||||
<include name="jsr166e.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -12,7 +12,7 @@
|
||||
<orderEntry type="module" module-name="jps-model-api" />
|
||||
<orderEntry type="library" name="cli-parser" level="project" />
|
||||
<orderEntry type="library" name="Ant" level="project" />
|
||||
<orderEntry type="module" module-name="jps-model-serialization" />
|
||||
<orderEntry type="module" module-name="jps-model-serialization" exported="" />
|
||||
<orderEntry type="module-library" scope="PROVIDED">
|
||||
<library>
|
||||
<CLASSES>
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.jetbrains.jps.model.JpsModel
|
||||
import org.jetbrains.jps.model.JpsProject
|
||||
import org.jetbrains.jps.model.java.JpsJavaExtensionService
|
||||
import org.jetbrains.jps.model.library.JpsOrderRootType
|
||||
import org.jetbrains.jps.model.serialization.JpsModelSerializationDataService
|
||||
import org.jetbrains.jps.model.serialization.JpsProjectLoader
|
||||
/**
|
||||
* @author nik
|
||||
@@ -105,7 +106,8 @@ final class JpsGantTool {
|
||||
}
|
||||
|
||||
private void loadProject(String path, JpsModel model, JpsGantProjectBuilder builder) {
|
||||
JpsProjectLoader.loadProject(model.project, [:], path)
|
||||
def pathVariables = JpsModelSerializationDataService.computeAllPathVariables(model.global)
|
||||
JpsProjectLoader.loadProject(model.project, pathVariables, path)
|
||||
if (builder.getDataStorageRoot() == null) {
|
||||
builder.setDataStorageRoot(Utils.getDataStorageRoot(path))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user