mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed updating IDEA CE from IDEA UE sources
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user