eclipse 如何查看ant版本
2013-12-04 10:24
330 查看
eclipse模式是自带ant工具的,由于某些脚本限定了ant的版本号和jdk的版本,导致无法运行ant,那么如何查看eclipse的ant的版本呢?
进入到eclipse的安装目录的plugins目录,如图所示
除了Java的系统属性,Ant还定义了一些自己的内置属性:
basedir project基目录的绝对路径 (与<project>的basedir属性一样)。
ant.file ---- buildfile的绝对路径。
ant.version ---- Ant的版本。
ant.project.name ---- 当前执行的project的名字;由<project>的name属性设定.
ant.java.version ----- Ant检测到的JVM的版本; 目前的值有"1.1", "1.2", "1.3" and "1.4".
查看图片附件
进入到eclipse的安装目录的plugins目录,如图所示
除了Java的系统属性,Ant还定义了一些自己的内置属性:
basedir project基目录的绝对路径 (与<project>的basedir属性一样)。
ant.file ---- buildfile的绝对路径。
ant.version ---- Ant的版本。
ant.project.name ---- 当前执行的project的名字;由<project>的name属性设定.
ant.java.version ----- Ant检测到的JVM的版本; 目前的值有"1.1", "1.2", "1.3" and "1.4".
<!-- Check for min build requirements --> <condition property="ant.not.ok" value="true"> <not> <or> <contains string="${ant.version}" substring="1.6"/> <contains string="${ant.version}" substring="1.7"/> <contains string="${ant.version}" substring="1.8"/> </or> </not> </condition> <condition property="java.not.ok" value="true"> <not> <or> <contains string="${ant.java.version}" substring="1.5"/> <contains string="${ant.java.version}" substring="1.6"/> <contains string="${ant.java.version}" substring="1.7"/> </or> </not> </condition>
查看图片附件
相关文章推荐
- Eclipse下如何查看ant版本
- 如何查看Eclipse的数字版的版本(转)
- 如何查看eclipse的版本
- 如何查看Eclipse 的版本
- 转:如何查看MyEclipse包含的Eclipse的版本号
- 如何查看eclipse的版本
- 如何查看eclipse的版本
- 如何查看eclipse或Myeclipse的版本号
- 如何查看Eclipse版本
- 如何查看Eclipse版本
- 请问如何查看eclipse版本
- 如何查看eclipse中servlet跟jsp的版本
- 如何查看eclipse版本
- 如何查看MyEclipse包含的Eclipse的版本号,用于装插件选择插件版本
- 如何查看MyEclipse包含的Eclipse的版本号
- 如何查看eclipse版本?
- 在java EE版本eclipse下如何查看tomcat部署的位置
- 如何查看Eclipse的版本 (2种方法)
- 如何查看项目使用的Eclipse版本和Jdk的版本
- 如何查看eclipse版本?