Don't delete dirs we need later

Hopefully this will get rid of my folder corruption issues.
This commit is contained in:
CovertJaguar 2013-06-24 21:44:33 -07:00
parent ee02561cd0
commit 0e08788461

View file

@ -143,7 +143,9 @@
<target name="compile" depends="initialize-version,setup,copy-src"> <target name="compile" depends="initialize-version,setup,copy-src">
<delete dir="${classes.dir}"/> <delete includeemptydirs="true">
<fileset dir="${classes.dir}" includes="**/*"/>
</delete>
<mkdir dir="${classes.dir}"/> <mkdir dir="${classes.dir}"/>
<!-- Recompile --> <!-- Recompile -->
@ -202,7 +204,9 @@
<!-- Package the compiled files --> <!-- Package the compiled files -->
<target name="package" depends="reobf"> <target name="package" depends="reobf">
<delete dir="${jar.dir}"/> <delete includeemptydirs="true">
<fileset dir="${jar.dir}" includes="**/*"/>
</delete>
<mkdir dir="${jar.dir}"/> <mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/${buildcraft.name}-${mc.version}-${project.version.full}.jar" basedir="${classes.dir}"/> <jar destfile="${jar.dir}/${buildcraft.name}-${mc.version}-${project.version.full}.jar" basedir="${classes.dir}"/>
<copy todir="${jar.dir}/changelog"> <copy todir="${jar.dir}/changelog">