jps updated

This commit is contained in:
nik
2011-01-31 11:36:52 +03:00
parent 715acfa9fe
commit ea75987be3
3 changed files with 6 additions and 6 deletions
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -66,6 +66,12 @@ binding.setVariable("guessHome", {
binding.setVariable("loadProject", {
requireProperty("jdkHome", requireProperty("jdk16.home", guessJdk()))
def mac = isMac()
jdk("IDEA jdk", jdkHome) {
if (!mac) {
classpath "$jdkHome/lib/tools.jar"
}
}
IdeaProjectLoader.loadFromPath(project, "${home}")
binding.ant.patternset(id: "idea.compiler.resources") {
@@ -77,12 +83,6 @@ binding.setVariable("loadProject", {
}
project["compiler.resources.id"] = "idea.compiler.resources"
if (!isMac()) {
project.modules.values().each {
it.classpath << project.resolve("$jdkHome/lib/tools.jar")
}
}
})
requireProperty("home", guessHome())