mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
clean build output dirs
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user