Skip to content

Commit

Permalink
ant code simplification
Browse files Browse the repository at this point in the history
cygwin has been added to a list of prerequisits
(cherry picked from commit fcaba4b4fe7594122e20e14d1cd5ee254e8c24c0)
  • Loading branch information
geometer authored and vasiliy-bout committed Nov 23, 2010
1 parent 709a483 commit 42f8ebe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion HowToBuild
Expand Up @@ -7,7 +7,9 @@ Prerequisites:

2. Android NDK >= r4b

3. Apache Ant >= 1.7.1
3. Apache Ant >= 1.7.0

4. (Windows-only) Cygwin >= 1.7

To build:

Expand Down
7 changes: 1 addition & 6 deletions build.xml
Expand Up @@ -19,15 +19,10 @@
<setup />

<target name="init" description="Initialization...">
<condition property="Ant17isOnline">
<and>
<antversion property="ant.version" atleast="1.7.0"/>
</and>
</condition>
<fail message="ANT with version at least 1.7 should be present !!! Update your local '${ant.version}' first.">
<condition>
<not>
<isset property="Ant17isOnline"/>
<antversion property="ant.version" atleast="1.7.0"/>
</not>
</condition>
</fail>
Expand Down

0 comments on commit 42f8ebe

Please sign in to comment.