clean build output dirs

This commit is contained in:
Dmitry Jemerov
2008-02-27 21:16:27 +03:00
parent 231b169a8a
commit 801ff144b5
2 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -168,7 +168,8 @@
</target>
<target name="zip" depends="layout">
<zip destfile="${out.dir}/pycharm-${build.number}.zip">
<mkdir dir="${out.dir}/artifacts"/>
<zip destfile="${out.dir}/artifacts/pycharm-${build.number}.zip">
<fileset dir="${out.dir}/dist"/>
</zip>
</target>
+13 -2
View File
@@ -1,14 +1,25 @@
<project name="Python IDE Release Build Bootstrap" default="main">
<property name="project.home" value="${basedir}/../../.."/>
<property name="idea.dir" value="${project.home}/out/python/idea"/>
<property name="out.dir" value="${project.home}/out/python"/>
<property name="idea.dir" value="${out.dir}/idea"/>
<target name="clean">
<delete dir="${out.dir}/classes" failonerror="false"/>
<delete dir="${out.dir}/dist" failonerror="false"/>
<delete dir="${out.dir}/artifacts" failonerror="false"/>
<delete dir="${out.dir}/jar" failonerror="false"/>
<delete dir="${out.dir}/deploy" failonerror="false"/>
<delete dir="${idea.dir}/jdk15" failonerror="false"/>
</target>
<target name="unzip">
<mkdir dir="${idea.dir}"/>
<unzip dest="${idea.dir}/jdk15">
<fileset dir="${idea.dir}" includes="idea*-jdk15.zip"/>
</unzip>
</target>
<target name="main" depends="unzip">
<target name="main" depends="clean,unzip">
<java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
<jvmarg line="-Xms64m -Xmx512m"/>