Mercurial > hg > graal-jvmci-8
diff make/build-graal.xml @ 8890:a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 08 Apr 2013 11:20:19 +0200 |
parents | ce5750014c3d |
children | dedfff70763f |
line wrap: on
line diff
--- a/make/build-graal.xml Sun Apr 07 22:27:16 2013 +0200 +++ b/make/build-graal.xml Mon Apr 08 11:20:19 2013 +0200 @@ -29,7 +29,7 @@ <property name="jar.dir" value="${shared.dir}"/> <property name="jar.file" value="${jar.dir}/graal.jar"/> <target depends="jar" name="main"/> - <target name="compile"> + <target depends="cleanclasses" name="compile"> <mkdir dir="${classes.dir}"/> <javac debug="on" destdir="${classes.dir}" includeantruntime="false"> <src path="${src.dir}/com.oracle.graal.api.meta"/> @@ -76,8 +76,10 @@ <mkdir dir="${jar.dir}"/> <jar basedir="${classes.dir}" destfile="${jar.file}"/> </target> - <target name="clean"> + <target name="cleanclasses"> <delete dir="${classes.dir}"/> - <delete file="${jar.filr}"/> + </target> + <target depends="cleanclasses" name="clean"> + <delete file="${jar.file}"/> </target> </project>