1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-18 02:02:04 +01:00

Minor change to release build script testing.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2087 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Bill Lynch 2003-09-18 03:48:49 +00:00 committed by blynch
parent ab73164b38
commit 796b70de23

View file

@ -104,16 +104,27 @@ Release made, testing Ant targets of release...
<antcall target="test" />
</target>
<!-- all -->
<!-- test -->
<!-- ======================================================================================= -->
<target name="test">
<ant dir="${release.dir}" antfile="build/build.xml" target="jar" inheritAll="false">
<property name="testdir" value="${release.dir}/.test" />
<!-- copy the build to a temp dir so we can run sanity tests -->
<mkdir dir="${testdir}" />
<copy todir="${testdir}">
<fileset dir="${release.dir}">
<exclude name=".test/**/*.*" />
</fileset>
</copy>
<!-- run sanity tests -->
<ant dir="${testdir}" antfile="build/build.xml" target="jar" inheritAll="false">
<property name="no.test" value="true" />
</ant>
<ant dir="${release.dir}" antfile="build/build.xml" target="javadoc" inheritAll="false">
<ant dir="${testdir}" antfile="build/build.xml" target="javadoc" inheritAll="false">
<property name="no.test" value="true" />
</ant>
<ant dir="${release.dir}" antfile="build/build.xml" target="clean" inheritAll="false">
<ant dir="${testdir}" antfile="build/build.xml" target="clean" inheritAll="false">
<property name="no.test" value="true" />
</ant>
@ -124,5 +135,4 @@ Release made, testing Ant targets of release...
</echo>
</target>
</project>