|
|
|
@ -172,10 +172,24 @@ |
|
|
|
</junitreport> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="testname" unless="test"> |
|
|
|
<fail message="You must run this target with -Dtest=TestName"/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="test" depends="test-jar, testname"> |
|
|
|
<junit printsummary="withOutAndErr"> |
|
|
|
<classpath refid="test.classpath"/> |
|
|
|
<formatter type="plain" usefile="false"/> |
|
|
|
<batchtest fork="no"> |
|
|
|
<fileset dir="${libphonenumber.test.dir}" includes="**/*${test}.java"/> |
|
|
|
<fileset dir="${geocoder.test.dir}" includes="**/*${test}.java"/> |
|
|
|
</batchtest> |
|
|
|
</junit> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="clean" description="Remove generated files."> |
|
|
|
<delete dir="${build.dir}"/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="clean-build" depends="clean,jar"/> |
|
|
|
</project> |
|
|
|
|