| <!-- Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> |
| <project name="IntelliJ IDEA CE developer's update" default="layout"> |
| <dirname property="build" file="${ant.file}"/> |
| <property name="project.home" value="${build}/../"/> |
| |
| <!-- do not build by default --> |
| <property name="intellij.build.local.plugins.repository" value="" /> |
| |
| <macrodef name="run"> |
| <attribute name="deploy"/> |
| <attribute name="distOutputRelativePath" default="dist"/> |
| |
| <sequential> |
| <exec failonerror="true" executable="${basedir}/updateFromSources.cmd"> |
| <arg value="-Dintellij.build.output.root=@{deploy}"/> |
| <arg value="-Dintellij.build.local.plugins.repository=${intellij.build.local.plugins.repository}"/> |
| <arg value="-DdistOutputRelativePath=@{distOutputRelativePath}"/> |
| <arg value="-DdevIdeaHome=${project.home}"/> |
| </exec> |
| </sequential> |
| </macrodef> |
| |
| <target name="layout"> |
| <run deploy="${project.home}/out/deploy"/> |
| </target> |
| </project> |