fixed updating IDEA CE from IDEA UE sources

This commit is contained in:
nik
2015-06-29 15:06:27 +03:00
parent 89de091a89
commit 2c778aecb0
+3 -1
View File
@@ -18,7 +18,9 @@ import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome
includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant")
target('default': "Developers update") {
loadProjectFromPath(home)
//when IDEA CE is updated from IDEA UE sources project should be loaded from IDEA UE directory
String projectHome = isDefined("devIdeaHome") ? devIdeaHome : home
loadProjectFromPath(projectHome)
def patchedDescriptorDir = patchAppDescriptor(deploy)
layoutFull(home, deploy, patchedDescriptorDir)
ant.delete(dir: patchedDescriptorDir)