</testng>
</target>
- <target name="buildindices" depends="init, prepare,linkcheck" unless="help.uptodate">
+ <target name="buildindices" depends="init, prepare" unless="help.uptodate">
<java classname="com.sun.java.help.search.Indexer" classpathref="build.classpath" fork="true" dir="${outputDir}/${helpDir}">
<arg line="html" />
</java>
</axis-wsdl2java>
</target>
-<target name="makedist" depends="build, buildPropertiesFile, buildindices">
+<target name="makedist" depends="build, buildPropertiesFile, linkcheck, buildindices">
<!-- make the package jar if not already existing -->
<mkdir dir="${packageDir}" />
<!-- clean dir if it already existed -->
</packageset>
</javadoc>
</target>
-<target name="linkcheck">
- <!-- finally, publish the help files -->
+<target name="linkcheck" depends="init,prepare">
<javac srcdir="utils" destdir="utils" includes="HelpLinksChecker.java"/>
<java fork="true" dir="${helpDir}" classpath="utils" classname="HelpLinksChecker" failonerror="true">
<arg file="${helpDir}"/>