mocha: show actual file in Diff dialog (WEB-15907)
[idea/community.git] / python / build.xml
1 <project name="PyCharm Community Edition" default="all">
2   <property name="project.home" value="${basedir}/.."/>
3   <property name="python.home" value="${basedir}"/>
4   <property name="out.dir" value="${project.home}/out"/>
5   <property name="tmp.dir" value="${project.home}/out/tmp"/>
6
7   <target name="cleanup">
8     <delete dir="${out.dir}" failonerror="false"/>
9   </target>
10
11   <target name="init">
12     <mkdir dir="${out.dir}"/>
13     <mkdir dir="${tmp.dir}"/>
14   </target>
15
16   <macrodef name="call_gant">
17     <attribute name="script" />
18     <sequential>
19       <java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true">
20         <jvmarg line="-Xmx612m -XX:MaxPermSize=152m -Didea.build.number=${idea.build.number} &quot;-DideaPath=${idea.path}&quot;"/>
21         <sysproperty key="java.awt.headless" value="true"/>
22         <arg line="&quot;-Dgant.script=@{script}&quot;"/>
23         <arg line="&quot;-Dteamcity.build.tempDir=${tmp.dir}&quot;"/>
24         <arg line="&quot;-Didea.build.number=${idea.build.number}&quot;"/>
25         <arg line="&quot;-Didea.test.group=ALL_EXCLUDE_DEFINED&quot;"/>
26         <arg value="-f"/>
27         <arg value="${project.home}/build/gant.xml"/>
28       </java>
29     </sequential>
30   </macrodef>
31
32   <target name="build" depends="init">
33     <call_gant script="${python.home}/build/pycharm_community_build.gant"/>
34   </target>
35
36   <target name="plugin" depends="init">
37     <call_gant script="${python.home}/build/python_plugin_build.gant"/>
38   </target>
39   <!--
40   <target name="test" depends="init">
41     <call_gant script="${project.home}/build/scripts/tests.gant"/>
42   </target>
43   -->
44
45   <target name="all" depends="cleanup,build"/>
46 </project>