Ant build.xml: Improve build performance avoiding an unnecessary directory copy

This commit is contained in:
Sam Harwell 2013-01-05 05:38:54 -06:00
parent 6e9129848e
commit 57295785d5
1 changed files with 1 additions and 7 deletions

View File

@ -83,12 +83,6 @@ build.sysclasspath=ignore
<target name="compile" depends="antlr" description="Compile for generic OS">
<mkdir dir="${build.dir}/classes"/>
<mkdir dir="${build.dir}/src"/>
<copy todir="${build.dir}/src" >
<fileset dir="${basedir}/tool/src/"/>
<fileset dir="${basedir}/runtime/Java/src/"/>
</copy>
<replace dir="${build.dir}/src" token="@version@" value="${version}"/>
<javac
destdir="${build.dir}/classes"
source="1.5"
@ -98,7 +92,7 @@ build.sysclasspath=ignore
<compilerarg value="-Xlint"/>
<compilerarg value="-Xlint:-serial"/>
<classpath refid="classpath"/>
<src path="${build.dir}/src:${antlr3.gen.dir}"/>
<src path="${basedir}/tool/src:${basedir}/runtime/Java/src:${antlr3.gen.dir}"/>
</javac>
</target>