From f29cebfeb945c84813a1d6828bc47099490dba1c Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 1 Nov 2016 13:55:11 +0300 Subject: [PATCH] speed up 'update from sources': skip building sources archives --- build/scripts/dist.gant | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/scripts/dist.gant b/build/scripts/dist.gant index 9dac48d5f4a6..1e6791fffd83 100644 --- a/build/scripts/dist.gant +++ b/build/scripts/dist.gant @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import org.jetbrains.intellij.build.BuildOptions -import org.jetbrains.intellij.build.BuildTasks import org.jetbrains.intellij.build.IdeaCommunityBuilder import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome @@ -52,6 +52,7 @@ target('update-from-sources': 'Update locally installed distribution from compil def options = new BuildOptions() options.useCompiledClassesFromProjectOutput = true options.buildStepsToSkip << BuildOptions.SEARCHABLE_OPTIONS_INDEX_STEP + options.buildStepsToSkip << BuildOptions.SOURCES_ARCHIVE_STEP //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)