Changeset 3579 in josm for trunk/build.xml


Ignore:
Timestamp:
2010-10-02T09:06:47+02:00 (9 years ago)
Author:
jttt
Message:

Use josm-custom.jar in test classpath (because ProjectionTest needs file from /data directory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r3509 r3579  
    143143                        <include name="**/*.jar"/>
    144144                </fileset>
     145                <pathelement path="dist/josm-custom.jar"/>
    145146        </path>
    146147
     
    155156        </target>
    156157
    157         <target name="test-compile" depends="test-init">
    158                 <javac srcdir="${src.dir}:${test.dir}/unit" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
     158        <target name="test-compile" depends="test-init,dist">
     159                <javac srcdir="${test.dir}/unit" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
    159160                                target="1.5" source="1.5" debug="on" encoding="UTF-8">
    160161                        <compilerarg value="-Xlint:deprecation"/>
    161162                        <compilerarg value="-Xlint:unchecked"/>
    162163                </javac>
    163                 <javac srcdir="${src.dir}:${test.dir}/functional" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
     164                <javac srcdir="${test.dir}/functional" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
    164165                                                target="1.5" source="1.5" debug="on" encoding="UTF-8">
    165166                        <compilerarg value="-Xlint:deprecation"/>
     
    195196                -dontoptimize
    196197                -dontobfuscate
    197                
     198
    198199                -dontskipnonpubliclibraryclasses
    199200
Note: See TracChangeset for help on using the changeset viewer.