Change
<property name="src.dir" value="${base.dir}/files/src/com/gosps"/>
to
<property name="src.dir" value="${base.dir}/files/src"/>
I suspect this should do it. Also read the FAQ about 'always recompile'.
--DD
-----Original Message-----
From: Cohan, Sean [mailto:SCohan@;goSPS.com]
Sent: Tuesday, November 12, 2002 10:55 AM
To: '[EMAIL PROTECTED]'
Subject: Only Touched Files
I'm a newbie. Currently our builds are compiling all source files. I would
like it to only compile files that have been touched since the last build.
How do I specify this? Here's the target (compile) in question:
<property name="base.dir" value="${env.BASE_DIR}"/>
<property name="build.dir" value="${env.BUILD_DIR}"/>
<property name="classes.dir" value="${build.dir}/classes/jar"/>
<property name="src.dir" value="${base.dir}/files/src/com/gosps"/>
<property name="reports.dir" value="${build.dir}/reports"/>
<property name="resources.dir" value="${base.dir}/files/resources"/>
<target name="init">
<delete dir="${reports.dir}"/>
<delete file="${build.dir}/sps.jar"/>
<delete file="c:\\build_succeeded"/>
<mkdir dir="${reports.dir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src.dir}"
destdir="${classes.dir}"
excludes="**/*Test.java, **/Class2JUnitTest.java,
**/JUnitTestCreator.java" />
</target>
Thanks.
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>