因为Gephi是构建在NetBeans平台上,所有这些开发需要在NetBeans IDE上进行,这个开发工具为开发者提供了集成了很多工具。
Introduction
Netbeans Platform 是一个Swing 应用的通用框架。它提供“管道”,在每个开发者不得不写——保存状态,连接行为与菜单条目,工具条,以及键盘快捷键;窗口管理,等等。
Gephi软件架构是模块化的,因此每个特性都是分解到多个模块中。模块相互依赖,类似Java包。插件开发者简单创造新的模块来包含他们的代码,添加依赖的Gephi模块,并通过创建NBM包来分发他们的插件。查阅Gephid APIs文档学习模块使用的API插件。
NetBeans中构建Gephi
为了开发Gephi,我们需要使用与当前代码相同的NetBeans版本。默认使用最新的NetBeans稳定版本。然而,我们需要升级NetBeans到最新的版本。在按照NetBeans的过程中可能会安装JUnit。
在构建的过程中可能会遇到错误
例如:
Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.codehaus.mojo:nbm-maven-plugin:3.14 or one of its dependencies could not be resolved: Failed to collect dependencies for org.codehaus.mojo:nbm-maven-plugin:jar:3.14 () @
解决办法
根据弹出的窗口点击“解决”按钮。
当NetBeans把代码所需要的下载完后,就完成构建。