mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
b01673fa29
git-svn-id: https://zxing.googlecode.com/svn/trunk@32 59b500cc-1b3d-0410-9834-0bbf25fbcc57
57 lines
1.4 KiB
XML
57 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="core" default="build">
|
|
|
|
<property file="../build.properties"/>
|
|
|
|
<target name="init">
|
|
<tstamp/>
|
|
</target>
|
|
|
|
<target name="build" depends="init">
|
|
<mkdir dir="build"/>
|
|
<javac srcdir="src"
|
|
destdir="build"
|
|
source="1.4"
|
|
target="1.4"
|
|
bootclasspath="${JDK1.4-home}/jre/lib/rt.jar"
|
|
optimize="true"
|
|
debug="true"
|
|
deprecation="true"
|
|
fork="true"/>
|
|
<jar jarfile="core.jar" basedir="build"/>
|
|
</target>
|
|
|
|
<target name="test" depends="init,build">
|
|
<mkdir dir="build-test"/>
|
|
<javac srcdir="test/src"
|
|
destdir="build-test"
|
|
debug="true"
|
|
deprecation="true">
|
|
<classpath>
|
|
<pathelement location="build"/>
|
|
</classpath>
|
|
</javac>
|
|
<junit printsummary="on" haltonfailure="on" haltonerror="on">
|
|
<formatter type="plain" usefile="false"/>
|
|
<classpath>
|
|
<pathelement location="build"/>
|
|
<pathelement location="build-test"/>
|
|
</classpath>
|
|
<assertions>
|
|
<enable/>
|
|
</assertions>
|
|
<batchtest>
|
|
<fileset dir="test/src">
|
|
<include name="**/*.java"/>
|
|
</fileset>
|
|
</batchtest>
|
|
</junit>
|
|
</target>
|
|
|
|
<target name="clean">
|
|
<delete dir="build"/>
|
|
<delete file="core.jar"/>
|
|
</target>
|
|
|
|
</project>
|