Maven: build scripts tuned

This commit is contained in:
Anton Makeev
2011-03-02 14:57:54 +01:00
parent d87e9de5be
commit ed4eac822a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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);