move calculator contributor result on the top of SE results
[idea/community.git] / build / update.xml
1 <!-- 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. -->
2 <project name="IntelliJ IDEA CE developer's update" default="layout">
3   <dirname property="build" file="${ant.file}"/>
4   <property name="project.home" value="${build}/../"/>
5   <property name="gant.home" value="${project.home}/build/lib/gant"/>
6
7   <macrodef name="run">
8     <attribute name="script"/>
9     <attribute name="target" default="default"/>
10     <attribute name="deploy"/>
11     <attribute name="distOutputRelativePath" default="dist"/>
12
13     <sequential>
14       <java classname="org.apache.tools.ant.Main" dir="${project.home}" fork="true" failonerror="true">
15         <jvmarg line="-Xmx512m"/>
16         <jvmarg line="&quot;-Dintellij.build.output.root=@{deploy}&quot;"/>
17         <jvmarg line="&quot;-Dintellij.build.local.plugins.repository=${intellij.build.local.plugins.repository}&quot;"/>
18         <jvmarg line="&quot;-DdistOutputRelativePath=@{distOutputRelativePath}&quot;"/>
19         <jvmarg line="&quot;-Dgant.script=@{script}&quot;"/>
20         <jvmarg line="&quot;-Dgant.target=@{target}&quot;"/>
21         <classpath>
22           <fileset dir="${project.home}/lib/ant/lib" includes="*.jar"/>
23         </classpath>
24         <arg value="-f"/>
25         <arg value="${project.home}/build/gant.xml"/>
26       </java>
27     </sequential>
28   </macrodef>
29
30   <target name="layout">
31     <run script="${project.home}/build/scripts/idea_community.gant"
32          target="update-from-sources"
33          deploy="${project.home}/out/deploy"/>
34   </target>
35
36   <target name="build-intellij-core">
37     <run script="${project.home}/build/scripts/idea_community.gant"
38          target="build-intellij-core"
39          deploy="${project.home}/out/deploy"/>
40   </target>
41 </project>