<target
depends="init"
description="Makes sure that all libraries are being present so as to generate the website."
name="antdoc.website.generate.pre"
>
<available
classname="${ED_PACKAGE}.wedsitor.WedSitor"
property="WEDSITOR_OK"
/>
<antcall target="fail.unless">
<param
name="PROPERTY_NAME"
value="${WEDSITOR_OK}"
/>
<param
name="MESSAGE"
value="The WedSitor jar is missing from Ant library directory ('${ant.home}/lib/WedSitor.jar' missing)"
/>
</antcall>
<--Not supported by Ant V1.4.1-->
<--fail unless="WEDSITOR_OK">The WedSitor jar is missing from Ant library directory ('${ant.home}/lib/WedSitor.jar' missing)</fail-->
<available
classname="com.java2html.Java2HTMLTask"
property="J2H_OK"
/>
<antcall target="fail.unless">
<param
name="PROPERTY_NAME"
value="${J2H_OK}"
/>
<param
name="MESSAGE"
value="The Java2HTML jar is missing from Ant library directory ('${ant.home}/lib/j2h.jar' missing)"
/>
</antcall>
<--Not supported by Ant V1.4.1-->
<--fail unless="J2H_OK">The Java2HTML jar is missing from Ant library directory ('${ant.home}/lib/j2h.jar' missing)</fail-->
</target>
|