mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: fixed updating from sources for IDEA Community
This commit is contained in:
@@ -42,4 +42,14 @@ target('update-from-sources': 'Update locally installed distribution from compil
|
||||
//when IDEA CE is updated from IDEA UE sources project should be loaded from IDEA UE directory
|
||||
String projectHome = isDefined("devIdeaHome") ? devIdeaHome : home
|
||||
new IdeaCommunityBuilder(home, binding, options, projectHome).buildUnpackedDistribution(deploy)
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isDefined(String key) {
|
||||
try {
|
||||
this[key]
|
||||
return true
|
||||
}
|
||||
catch (MissingPropertyException ignored) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user