mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Maven: build scripts tuned
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import org.jetbrains.jps.Module
|
||||
import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome
|
||||
|
||||
includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant")
|
||||
@@ -162,6 +161,7 @@ def layoutFull(String home, String targetDirectory) {
|
||||
jar("maven-facade-impl.jar") {
|
||||
module("maven-facade-impl")
|
||||
}
|
||||
fileset(dir: "$home/plugins/maven/lib")
|
||||
fileset(dir: "$home/plugins/maven/facade-impl/lib")
|
||||
fileset(dir: "$home/plugins/maven/facade-api/lib")
|
||||
}
|
||||
|
||||
@@ -185,7 +185,6 @@ public class MavenFacadeManager extends RemoteObjectWrapper<MavenFacade> {
|
||||
ContainerUtil.addIfNotNull(PathUtil.getJarPathForClass(THashSet.class), classPath);
|
||||
ContainerUtil.addIfNotNull(PathUtil.getJarPathForClass(Element.class), classPath);
|
||||
ContainerUtil.addIfNotNull(PathUtil.getJarPathForClass(Query.class), classPath);
|
||||
ContainerUtil.addIfNotNull(PathUtil.getJarPathForClass(Query.class), classPath);
|
||||
params.getClassPath().add(PathManager.getResourceRoot(getClass(), "/messages/CommonBundle.properties"));
|
||||
params.getClassPath().addAll(classPath);
|
||||
params.getClassPath().addAllFiles(collectClassPathAndLIbsFolder().first);
|
||||
|
||||
Reference in New Issue
Block a user