eclipse中ant的安装

来源:互联网 发布:网络活动策划书 编辑:程序博客网 时间:2024/06/05 16:34

eclipse中自带ant插件,但是打开相应的build.xml文件,却没有任何显示,说明ant并没有被正确安装,解决方法:

  1. 配置对应的环境变量,例如 “classpath C:/apache-ant-1.8.1/lib”
  2. 命令行中跳转到eclipse的安装目录;
  3. 执行命令“eclipse -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/juno -installIU org.eclipse.ant.ui Installing org.apache.ant_1.8.3.v201301120609

    org.apache.ant_1.8.3.v201301120609是我下载的eclipse中ant插件的版本
    查看plugins文件中自己的ant版本,将其替换,运行并重启eclipse之后就可

0 0
原创粉丝点击