浏览代码

Better using the Antversion Task

MELERIX 13 年之前
父节点
当前提交
985e997d65
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2J_Server_BETA/build.xml

+ 1 - 1
L2J_Server_BETA/build.xml

@@ -251,7 +251,7 @@
 		<fail message="Ant 1.8.2 is required. But your version is ${ant.version}">
 			<condition>
 				<not>
-					<contains string="${ant.version}" substring="1.8.2" />
+					<antversion atleast="1.8.2" />
 				</not>
 			</condition>
 		</fail>