Checks that dependencies are built now and produces an appropriate warning message.

git-svn-id: https://zxing.googlecode.com/svn/trunk@155 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-01-30 16:12:56 +00:00
parent f242e266e8
commit b503b1cdc6
3 changed files with 21 additions and 0 deletions

View file

@ -55,6 +55,13 @@
<available file="${WTK-home}/bin/proguard.jar" type="file"/>
</not>
</condition>
</fail>
<fail message="Please build 'core' first">
<condition>
<not>
<available file="../core/core.jar" type="file"/>
</not>
</condition>
</fail>
</target>

View file

@ -20,6 +20,13 @@
<target name="init">
<tstamp/>
<fail message="Please build 'core' first">
<condition>
<not>
<available file="../core/core.jar" type="file"/>
</not>
</condition>
</fail>
</target>
<target name="build" depends="init">

View file

@ -28,6 +28,13 @@
<available file="${BB-JDK-home}" type="dir"/>
</not>
</condition>
</fail>
<fail message="Please build target 'build-basic' in 'javame' first">
<condition>
<not>
<available file="../javame/ZXingReaderBasic.jar" type="file"/>
</not>
</condition>
</fail>
</target>