Changeset 6121 in josm for trunk/build.xml


Ignore:
Timestamp:
2013-08-08T23:39:44+02:00 (6 years ago)
Author:
Don-vip
Message:

compile test classes to their own build dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r6120 r6121  
    163163    </path>
    164164    <target name="test-init">
    165         <mkdir dir="${test.dir}/${build.dir}"/>
     165        <mkdir dir="${test.dir}/build"/>
    166166        <mkdir dir="${test.dir}/report"/>
    167167    </target>
    168168    <target name="test-clean">
    169         <delete dir="${test.dir}/${build.dir}"/>
     169        <delete dir="${test.dir}/build"/>
    170170        <delete dir="${test.dir}/report"/>
    171171    </target>
    172172    <target name="test-compile" depends="test-init,dist">
    173         <javac srcdir="${test.dir}/unit" classpathref="test.classpath" destdir="${test.dir}/${build.dir}" target="1.6" source="1.6" debug="on" includeantruntime="false" encoding="UTF-8">
     173        <javac srcdir="${test.dir}/unit" classpathref="test.classpath" destdir="${test.dir}/build" target="1.6" source="1.6" debug="on" includeantruntime="false" encoding="UTF-8">
    174174            <compilerarg value="-Xlint:deprecation"/>
    175175            <compilerarg value="-Xlint:unchecked"/>
    176176        </javac>
    177         <javac srcdir="${test.dir}/functional" classpathref="test.classpath" destdir="${test.dir}/${build.dir}" target="1.6" source="1.6" debug="on" includeantruntime="false" encoding="UTF-8">
     177        <javac srcdir="${test.dir}/functional" classpathref="test.classpath" destdir="${test.dir}/build" target="1.6" source="1.6" debug="on" includeantruntime="false" encoding="UTF-8">
    178178            <compilerarg value="-Xlint:deprecation"/>
    179179            <compilerarg value="-Xlint:unchecked"/>
     
    187187            <classpath>
    188188                <path refid="test.classpath"/>
    189                 <pathelement path="${test.dir}/${build.dir}"/>
     189                <pathelement path="${test.dir}/build"/>
    190190                <pathelement path="${test.dir}/config"/>
    191191            </classpath>
Note: See TracChangeset for help on using the changeset viewer.