Gives a nice error message now if Fonts/TibetanMachineWeb cannot be found.

This commit is contained in:
dchandler 2003-01-27 04:27:51 +00:00
parent a31fed2ea7
commit 32a08c06c3

View file

@ -1336,6 +1336,10 @@ public class ThdlVersion {
<target name="copy-tmw-fonts-to-bin-dir" <target name="copy-tmw-fonts-to-bin-dir"
description="Unpacks the JARs/WARs/ZIP files that Savant and QuillDriver use to the chosen bin/ directory"> description="Unpacks the JARs/WARs/ZIP files that Savant and QuillDriver use to the chosen bin/ directory">
<available file="Fonts/TibetanMachineWeb"
property="found.the.fonts"/>
<fail message="Can't find the Fonts module at Jskad/Fonts/TibetanMachineWeb. Did you do 'cvs checkout Fonts' from inside the Jskad directory?"
unless="found.the.fonts"/>
<copy todir="${my.bin}/Fonts/TibetanMachineWeb"> <copy todir="${my.bin}/Fonts/TibetanMachineWeb">
<fileset dir="Fonts/TibetanMachineWeb"/> <fileset dir="Fonts/TibetanMachineWeb"/>
</copy> </copy>