mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
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:
parent
f242e266e8
commit
b503b1cdc6
|
@ -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>
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue