Don't run tests on release.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2012 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Bill Lynch 2003-08-05 02:00:25 +00:00 committed by blynch
parent b2fa3c3a1f
commit c05820b2ae
1 changed files with 8 additions and 3 deletions

View File

@ -85,6 +85,7 @@
<!-- jar -->
<!-- ======================================================================================= -->
<target name="jar" depends="compile, test" unless="jar.uptodate" description="Produces smack.jar">
<jar destfile="${jar.dest.dir}/smack.jar"
basedir="${compile.dir}"
includes="org/jivesoftware/smack/**/*.class"
@ -175,9 +176,13 @@
<!-- release -->
<!-- ======================================================================================= -->
<target name="release" if="release.exists" depends="release-exists, test">
<antcall target="jar" />
<antcall target="javadoc" />
<target name="release" if="release.exists" depends="release-exists">
<antcall target="jar">
<param name="no.test" value="true" />
</antcall>
<antcall target="javadoc">
<param name="no.test" value="true" />
</antcall>
<ant antfile="${basedir}/build/release.xml" />
</target>