Commit a7cd832a authored by Guus der Kinderen's avatar Guus der Kinderen

Merge pull request #296 from guusdk/OF-373

OF-373: Build should not check for explicit Ant version numbers
parents f7dec65b 4f007a5c
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<!-- <!--
Build Requirements: Build Requirements:
* Ant 1.6 or 1.7 (including optional tasks) * Ant 1.7.1 or higher (including optional tasks)
* JDK 1.7 or higher * JDK 1.7 or higher
* jUnit in your Ant or Java classpath * jUnit in your Ant or Java classpath
--> -->
...@@ -244,12 +244,7 @@ ...@@ -244,12 +244,7 @@
<condition property="ant.not.ok" value="true"> <condition property="ant.not.ok" value="true">
<not> <not>
<or> <antversion atleast="1.7.1"/>
<contains string="${ant.version}" substring="1.6"/>
<contains string="${ant.version}" substring="1.7"/>
<contains string="${ant.version}" substring="1.8"/>
<contains string="${ant.version}" substring="1.9"/>
</or>
</not> </not>
</condition> </condition>
<condition property="java.not.ok" value="true"> <condition property="java.not.ok" value="true">
...@@ -257,11 +252,12 @@ ...@@ -257,11 +252,12 @@
<or> <or>
<contains string="${ant.java.version}" substring="1.7"/> <contains string="${ant.java.version}" substring="1.7"/>
<contains string="${ant.java.version}" substring="1.8"/> <contains string="${ant.java.version}" substring="1.8"/>
<contains string="${ant.java.version}" substring="1.9"/>
</or> </or>
</not> </not>
</condition> </condition>
<fail if="ant.not.ok" message="Must use Ant 1.6.x or 1.7.x to build Openfire"/> <fail if="ant.not.ok" message="Must use Ant 1.7.1 or higher to build Openfire"/>
<fail if="java.not.ok" message="Must use JDK 1.7.x or higher to build Openfire"/> <fail if="java.not.ok" message="Must use JDK 1.7 or higher to build Openfire"/>
<tstamp/> <tstamp/>
<tstamp> <tstamp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment