eclim的编译安装及其使用

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

1、安装ANT

2、下载eclim源码并编译,详细可参考http://eclim.org/guides/development.html#development-build

ant -Declipse.home=/media/sanux/eclipse-jee-galileo-SR2-linux-gtk/ -Dplugins=ant,jdt

 

 

Eclim Developers Guide

This guide is intended mostly for those who wish to contribute to eclim by fixing bugs or adding new functionality, but the first section is also useful for users who would like to use the latest development version of eclim.

Checking out the code and building it.

  1. Check out the code:
$ git clone git://github.com/ervandew/eclim.git

Once you have a local git repository you can utilize the extensive local git functionality allowing you to commit code locally, create local branches, etc. For guidelines on managing patches and submitting them, please see the patch guide below.

  1. Build eclim:
$ cd eclim
$ ant -Declipse.home=/your/eclipse/home/dir

Note

If your eclipse home path contains a space, be sure to quote it:

> ant “-Declipse.home=C:/Program Files/eclipse”

This will build and deploy eclim to your eclipse and vim directories. If you don’t want to supply the eclipse home directory every time, you can set the environment variable ECLIM_ECLIPSE_HOME which the build script will then utilize.

Note

If your vimfiles directory is not located at the default location for your OS, then you can specify the location using the “vim.files” property:

$ ant -Dvim.files=<your vimfiles dir>

By default the above ant call will build all the eclim plugins, requiring you to have all the related dependencies already installed in your eclipse distribution. However, if you only want a subset of the eclim plugins to be built, you can specify so using the ‘plugins’ system property:

# build only ant and jdt (java) support
$ ant -Dplugins=ant,jdt

# build only cdt (c/c++) support
$ ant -Dplugins=cdt

# build only pdt (php) support (requires wst and dltk)
$ ant -Dplugins=wst,dltk,pdt

# build only ruby support (requires dltk)
$ ant -Dplugins=dltk,dltkruby

Note

On windows you will need to quote the plugins argument if you are building more than one plugin:

> ant “-Dplugins=ant,jdt”

The currently available list of plugin names include:

  • jdt: java support using the eclipse jdt.
  • ant: ant support (requires jdt).
  • maven: maven support.
  • wst: web development support using the eclipse wst.
  • cdt: c/c++ support using the eclipse cdt.
  • dltk: base support for dltk based lanugages (currently php and ruby).
  • pdt: php support using the eclipse pdt (requires wst and dltk).
  • dltkruby: ruby support using the eclipse dltk-ruby (requires dltk).

3、编译LOG

[san@localhost eclim_gitsrc]$ ant -Declipse.home=/media/sanux/eclipse-jee-galileo-SR2-linux-gtk/ -Dplugins=ant,jdt Buildfile: /media/sanux/downloads/eclim_gitsrc/build.xml deploy: gant: deploy: deploy.eclipse: build.eclipse: init: [echo] eclim.version: 1.5.8 ------ init [javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [mkdir] Created dir: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/lib [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/eclim.jar [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/eclim-misc.jar [copy] Copying 3 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8 [copy] Copying 11 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/bin [exec] Building ng client. To build a Windows binary, type 'make ng.exe' [exec] gcc -Wall -pedantic -s -O3 -o ng src/c/ng.c [move] Moving 1 file to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/bin [echo] [echo] building plugin: org.eclim [copy] Copying 28 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8 [echo] [echo] building plugin: org.eclim.core [mkdir] Created dir: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.core_1.5.8 [javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.core_1.5.8/eclim.core.jar [copy] Copying 13 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.core_1.5.8 [echo] [echo] building plugin: org.eclim.ant [mkdir] Created dir: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.ant_1.5.8 [javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.ant_1.5.8/eclim.ant.jar [copy] Copying 5 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.ant_1.5.8 [echo] [echo] building plugin: org.eclim.jdt [mkdir] Created dir: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.jdt_1.5.8 [javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 79 source files to /media/sanux/downloads/eclim_gitsrc/build/temp/classes [javac] Note: /media/sanux/downloads/eclim_gitsrc/src/java/org/eclim/plugin/jdt/util/JavaUtils.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.jdt_1.5.8/eclim.jdt.jar [copy] Copying 28 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.jdt_1.5.8 [jar] Updating jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim_1.5.8/lib/nailgun-0.7.1.jar [echo] [echo] building plugin: org.eclim.vimplugin [copy] Copying 6 files to /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.vimplugin_1.5.8 [jar] Building jar: /media/sanux/downloads/eclim_gitsrc/build/temp/eclipse/plugins/org.eclim.vimplugin_1.5.8/eclim-vimplugin.jar ------ build.eclipse [copy] Copying 101 files to /media/sanux/eclipse-jee-galileo-SR2-linux-gtk/plugins [exec] /bin/rm: cannot remove `/media/sanux/eclipse-jee-galileo-SR2-linux-gtk//eclim': No such file or directory [exec] /bin/rm: cannot remove `/media/sanux/eclipse-jee-galileo-SR2-linux-gtk//eclimd': No such file or directory [exec] Result: 1 ------ deploy.eclipse deploy.resources: [copy] Copying 2 files to /home/san/.eclim/resources ------ deploy.resources deploy.vim: build.vim: [mkdir] Created dir: /media/sanux/downloads/eclim_gitsrc/build/temp/vim [copy] Copying 220 files to /media/sanux/downloads/eclim_gitsrc/build/temp/vim [untar] Expanding: /media/sanux/downloads/eclim_gitsrc/lib/rope-0.9.2.tar.gz into /media/sanux/downloads/eclim_gitsrc/build/temp/vim/eclim/autoload/eclim/python ------ build.vim [copy] Copying 293 files to /home/san/.vim ------ deploy.vim ------ deploy BUILD SUCCESSFUL Total time: 35 seconds

 

Android命令行开发流程与eclim的配合 安装eclim插件:打开Eclipse,选择"Help"菜单,然后点击"Eclipse Marketplace"。在搜索框中输入"eclim",找到eclim插件并点击"Go"按钮。选择eclim插件并点击"Go"按钮。安装eclim插件:打开Eclipse,选择"Help"菜单,然后点击"Eclipse Marketplace"。在搜索框中输入"eclim",找到eclim插件并点击"Go"按钮。通过安装和配置eclim插件,以及使用Vim和eclim的命令,可以在命令行下进行高效的Android开发。 阅读详情

相关推荐

eclim 1.3.3

eclim 1.3.3,可做收藏、学习、研究。eclim 是一个在 Eclipse 开发环境中集成vim 功能的插件,同时它也是一个非常好用的代码和文本编辑器,你可以用它来编辑代码、写程序。

eclim_2.5.0.jar

eclim_2.5.0.jar

eclim_2.2.1.jar

能把eclipse 和vim合起来的软件 java -jar eclim_2.2.1.jar

Eclim - 让你的Vim拥有eclipse功能

作为一个从windows转到linux系统的newbie,现在慢慢地习惯了使用vi来编辑文件,但又习惯了在Eclipse下开发java项目,于是今天上午就找来[url=http://satokar.com/viplugin/]viPlugin[/url]这个Eclipse插件,试了试和Netbeans下的vi插件差不多。到了下午远程操作另一台linux,用vi编辑一个文件时突然想到在vi中能有ec...

yamaru 482

强力整合:Emacs遇见Eclim,Java开发新体验

强力整合:Emacs遇见Eclim,Java开发新体验 在追求效率与集成度的编程世界里,每个开发者都在寻找那把解锁高效编码的钥匙。今天,我们带来了一款曾经在Emacs社区引起热议的神器——Eclim,尽管该项目现已不再维护,但它曾为无数Java开发者搭建起Emacs与Eclipse的桥梁,其独特的魅力依然值得我们回顾和借鉴。 项目介绍 Eclim,全称Eclipse + Emacs Integra...

gitblog_00081的博客 445

dlite-v1-355m-openmind优化技巧:如何将355M参数模型压缩到极致

在当今AI模型部署的实践中,**dlite-v1-355m-openmind**作为一个仅有3.55亿参数的轻量级语言模型,展现了小型模型也能具备优秀对话能力的可能性。这款基于GPT-2架构的模型经过斯坦福Alpaca数据集微调,为研究者和开发者提供了一个极佳的**模型压缩**和**优化部署**的实验平台。本文将分享一系列实用的**模型压缩**技巧,帮助您将dlite-v1-355m-openmi

gitblog_00896的博客 1040

GLuCoSE-base-ja-openmind:革命性日语文本嵌入模型的完整指南

GLuCoSE-base-ja-openmind是一款革命性的日语文本嵌入模型,专为日语自然语言处理任务优化设计。这个基于LUKE架构的文本向量化模型在语义相似度计算和日语语义搜索方面表现出色,为开发者提供了强大的日语文本理解能力。在前100个字内,让我们深入了解这个强大的日语文本嵌入工具如何改变日语NLP应用开发。 ## 🌟 为什么选择GLuCoSE-base-ja-openmind? G

gitblog_00008的博客 400

VIM自动补全插件 - YouCompleteMe--"大神级vim补全插件"

VIM自动补全插件 - YouCompleteMe 序言 vim 之所以被称为编辑器之神多半归功于其丰富的可DIY的灵活插件功能,( 例如vim下的这款神级般的代码补全插件YouCompleteMe), 使用VIM的用户也多半感觉 IDE开发工具不够轻便,且IDE往往只支持特定的几种语言或者特定系统平台,多数人用来用去,还是觉得VIM最...

Tsingke 851

配置Vim开发Android详解

由于哥们的机子配置不是一般的好,望eclipse惊叹啊,一直在寻找能够开发java更者android的字符编辑器,最终经多方的查阅、尝试,找到一篇比较完美的文章,成功体验ubuntu下开发android,话不多说,内容如下: 在开发Android的 程序员中,应该说使用Eclipse或者Netbean的是最多的。考虑到Google推出了一整套开发插件,让用户从项目到写代码到编译运行链接模拟器

CubeLee 1933

配置vim开发Android[神器终究是神器]

在开发Android的 程序员中,应该说使用Eclipse或者Netbean的是最多的。考虑到Google推出了一整套开发插件,让用户从项目到写代码到编译运行链接模拟器 一气呵成,用Eclipse这样的IDE无可厚非。不过,总有一些用户不喜欢IDE,不想用类似于Eclipse的方式开发,他们的想法包括 任何编辑器都比不上vim/emacs 我电脑太慢,不想跑IDE 纯命令行形式,我就喜...

·没有风雨躲得过,没有坎坷不必走· 109

VIM Eclim的配置与使用

本篇博客目标读者不是vim初用者,没怎么用过vim的人可以去看吴垠的手把手配vim。 主要的目的是记录以便换了系统方便自己重新配vim,配置好的环境可支持python,C\C++和java 1、VIM的常用常用插件及配置文件有:(打包下载:http://download.csdn.net/detail/kangquan2008/4951827) auto-pairs 具体的作用在此不说

一介码夫 3419

vim-eclim:与Vim插件管理器一起使用的仓库

Vim-eclim 该存储库简化了使用eclim安装过程。 值得注意的是,它允许您使用插件管理器,然后使用简单的Vim命令进行安装。 一切都很好,整洁。 步骤1:Vim插件 将以下代码段添加到您的.vimrc 。 Plugin/NeoBundle/Plug 'starcraftman/vim-eclim' 然后使用适当的插件命令安装Vundle :PluginInstall 步骤2:Eclimd 如果您需要安装eclimd,此仓库提供了DeployEclimd命令,该命令DeployEclimd一个必需的参数,即Eclipse实例的目录。 没有保修。

Eclipse + vim = Eclim

作为一个合格的程序员,掌握一种强大的编程工具是必不可少的。VIM普遍被认为是程序员最喜欢的编辑器。VIM是一个类似于Vi的文本编辑器, 不过在Vi的基础上增加了很多新的特性, Vim普遍被推崇为类Vi编辑器中最好的一。Vim是程序员为了方便的编写程序而开发的文本编辑器。Vim具有可以让写代码的工作变得轻松愉快的各种各样功能,例如支持各类语言的高亮或缩进功能。和集成开发环境一样,Vim具有可以配置成

tomxiaodong的专栏 4584

Eclim

Eclim 很不错的一个插件。可以将vim的编辑方式内嵌在eclipse中,也可以将eclipse的一些功能集成到vim中。网站:http://eclim.org 摸了半天,终于弄得差不多。 安装很简单,安装官网的说明来。 注意: 1.启动eclim $ECLIPSE_HOME/eclimd 2.在vim中 :Project...

weixin_30662109的博客 127

配合eclim的Android纯命令行开发流程

在开发Android的程序员中,应该说使用Eclipse或者Netbean的是最多的。考虑到Google推出了一整套开发插件,让用户从项目到写代码到编译运行链接模拟器一气呵成,用Eclipse这样的IDE无可厚非。不过,总有一些用户不喜欢IDE,不想用类似于Eclipse的方式开发,他们的想法包括 任何编辑器都比不上vim/emacs

走南闯北的专栏 3010

eclim CSearch macro 问题的解决过程备忘录

问题: CSearch 宏时, RuntimeException: Could not find file with URI because it is a relative path, and no base URI was provided. 调试准备 "verbose message let g:EclimLogLevel = 10 "重定向vim messages :red

deyangliu的专栏 1337
上一篇: Apache Ant安装及其使用
下一篇: 配合eclim的Android纯命令行开发流程
sanlinux
博客等级 码龄17年 91粉丝 158原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值