diff options
author | Tor Norbye <tnorbye@google.com> | 2014-08-19 22:27:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-08-19 21:25:05 +0000 |
commit | 4ca751c002784c4bfd349cc5240b045b62277c80 (patch) | |
tree | dfc17b31990e2429535609b85f6d080c4fa0d9fe /python/edu/build/build.xml | |
parent | 890d9a2952301682ffecaed4495f5f65c84c3642 (diff) | |
parent | 060e58b3afea3ea39f5ba1cb5a443ca3ebda28c8 (diff) | |
download | idea-4ca751c002784c4bfd349cc5240b045b62277c80.tar.gz |
Merge "Merge remote-tracking branch 'aosp/upstream-master' into merge"
Diffstat (limited to 'python/edu/build/build.xml')
-rw-r--r-- | python/edu/build/build.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/python/edu/build/build.xml b/python/edu/build/build.xml new file mode 100644 index 000000000000..913237c81f27 --- /dev/null +++ b/python/edu/build/build.xml @@ -0,0 +1,46 @@ +<project name="PyCharm Educational Edition" default="all"> + <property name="project.home" value="${basedir}/../../.."/> + <property name="python.home" value="${basedir}"/> + <property name="out.dir" value="${project.home}/out"/> + <property name="tmp.dir" value="${project.home}/out/tmp"/> + + <target name="cleanup"> + <delete dir="${out.dir}" failonerror="false"/> + </target> + + <target name="init"> + <mkdir dir="${out.dir}"/> + <mkdir dir="${tmp.dir}"/> + </target> + + <macrodef name="call_gant"> + <attribute name="script" /> + <sequential> + <java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true"> + <jvmarg line="-Xmx612m -XX:MaxPermSize=152m -Didea.build.number=${idea.build.number} "-DideaPath=${idea.path}""/> + <sysproperty key="java.awt.headless" value="true"/> + <arg line=""-Dgant.script=@{script}""/> + <arg line=""-Dteamcity.build.tempDir=${tmp.dir}""/> + <arg line=""-Didea.build.number=${idea.build.number}""/> + <arg line=""-Didea.test.group=ALL_EXCLUDE_DEFINED""/> + <arg value="-f"/> + <arg value="${project.home}/build/gant.xml"/> + </java> + </sequential> + </macrodef> + + <target name="build" depends="init"> + <call_gant script="${python.home}/pycharm_edu_build.gant"/> + </target> + + <!--<target name="plugin" depends="init">--> + <!--<call_gant script="${python.home}/build/python_plugin_build.gant"/>--> + <!--</target>--> + <!-- + <target name="test" depends="init"> + <call_gant script="${project.home}/build/scripts/tests.gant"/> + </target> + --> + + <target name="all" depends="cleanup,build"/> +</project> |