[定置] 搭建liferay的ext项目出错

earthsky 2008-11-27
出现的错误
Buildfile: D:\liferay\portal\build.xml

BUILD FAILED
D:\liferay\portal\build.xml:6: The following error occurred while executing this line:
D:\liferay\portal\build-common.xml:151: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "antversion" element.

Total time: 6 seconds

搭建环境的release.administrator.properties中的内容
lp.ext.dir=D:/liferay/ext


在本机安装的ant 1.7.0 ,jikes1.22,jdk1.5 在cmd中测试版本都正确

myeclipse5.5  liferay-src-5.1

请大侠给与帮助

自己认为是安装的ant版本问题,可能是myeclipse的ant版本是1.6.5的,怎么解决?


earthsky 2008-11-27
问题解决:
是把myeclipse中的ant的jar包重新引用自己安装的ant1.7.1的lib包
运行ok了
Global site tag (gtag.js) - Google Analytics