1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

Support for running tests using ant targets.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2986 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Marilyn Daum 2005-10-22 00:51:17 +00:00 committed by marilyn
parent bcae58878d
commit fcce44482d

View file

@ -32,6 +32,8 @@
<property name="javadoc.dest.dir" value="${basedir}/javadoc" /> <property name="javadoc.dest.dir" value="${basedir}/javadoc" />
<property name="build.lib.dir" value="${basedir}/build/lib" /> <property name="build.lib.dir" value="${basedir}/build/lib" />
<property name="merge.lib.dir" value="${basedir}/build/merge" /> <property name="merge.lib.dir" value="${basedir}/build/merge" />
<property name="test.dir" value="${basedir}/test" />
<property name="resources.dir" value="${basedir}/build/resources" />
<property name="version.major" value="2" /> <property name="version.major" value="2" />
<property name="version.minor" value="0" /> <property name="version.minor" value="0" />
@ -103,7 +105,7 @@
source="1.3" source="1.3"
target="1.2" target="1.2"
> >
<src path="${basedir}/test" /> <src path="${test.dir}" />
<classpath> <classpath>
<fileset dir="${build.lib.dir}"> <fileset dir="${build.lib.dir}">
<include name="*.jar"/> <include name="*.jar"/>
@ -224,7 +226,7 @@
</if> </if>
<junit printsummary="on" <junit printsummary="on"
fork="false" fork="true"
haltonfailure="false" haltonfailure="false"
failureproperty="tests.failed" failureproperty="tests.failed"
showoutput="true"> showoutput="true">
@ -250,6 +252,8 @@
<include name="smack-test.jar"/> <include name="smack-test.jar"/>
</fileset> </fileset>
<pathelement location="${compile.dir}" /> <pathelement location="${compile.dir}" />
<pathelement location="${test.dir}" />
<pathelement location="${resources.dir}" />
</classpath> </classpath>
<formatter type="brief" usefile="false"/> <formatter type="brief" usefile="false"/>