eclipse 下 opennms 开发环境搭建

来源:互联网 发布:熊猫网络电视怎么使用 编辑:程序博客网 时间:2024/04/28 02:49

1.eclipse3.5或更高版本,并且使用纯净的java版。下载地址:Eclipse for Java Developers。


2.安装需要的插件。通过Help/Install New Software... 输入以下地址来完成安装。



(1)安装Spring IDE,更新地址: http://dist.springframework.org/release/IDE需要安装以下插件 Core / Spring IDE Spring IDE OSGi Extension (optional) Spring IDE AOP Extension (optional)



(2)安装EGit,地址: http://download.eclipse.org/egit/updates Eclipse EGit Eclipse JGit (3)安装Maven 2.x Plugin for Eclipse,地址:http://m2eclipse.sonatype.org/sites/m2e Maven Integration for Eclipse 在安装过程中如果出现依赖错误,可以返回选中“Contact all update sites during install to find required software”,再来进行安装,一般问题可以搞定。



(3)安装Maven 2.x Plugin for Eclipse (Extras),地址: http://m2eclipse.sonatype.org/sites/m2e-extras Maven Integration for Eclipse Extras Maven Integration for Eclipse WTP Maven OSGi Development



(4)安装Groovy IDE. For Galileo (3.5) [1], for Helios (3.6) [2] Groovy-Eclipse (Required) Groovy Eclipse SDK (Optional)



(5)安装Google Eclipse Plugin: For Galileo (3.5) [3], or for Helios (3.6)[4] Plugin Google Web Toolkit SDK 2.3.0 至此开发环境准备完成。 下载最新版本的opennms源码,地址:http://sourceforge.net/projects/opennms/ 打开eclipse,导入opennms代码 File/Import.../Maven/Existing Maven Projects 然后就可以在eclipse里对opennms进行开发了。