• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

radimk/gradle-nbm-plugin: A Gradle plugin to build NetBeans modules and RCP appl ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

radimk/gradle-nbm-plugin

开源软件地址(OpenSource Url):

https://github.com/radimk/gradle-nbm-plugin

开源编程语言(OpenSource Language):

Groovy 82.3%

开源软件介绍(OpenSource Introduction):

gradle-nbm-plugin

A Gradle plugin to build NetBeans modules and RCP applications.

The project is not actively developed.

Features

Build standalone NetBeans modules

  • Builds a module.
  • Compiles sources.
  • Process manifest by adding deps and required attributes (public packages, friends, version, ...)
  • Create module files layout: module JAR, bundled JAR (from dependencies), update tracking?, help files, localization/branding
  • Builds NBM file for the module.
  • Signing can be configured in a build script
  • Runs unit tests
  • It is possible to run NetBeans with this module installed.

See the example build script to find how to customize module build. Things that you need to do in your build script include:

  • Apply the plugin. You can follow the directions from Gradle plugin portal
  • Add a NetBeans Maven repository or any other source of NetBeans modules.
  • Add nbm section defining model how the module should be built. Until there is a better documentation the available properties can be found in an extension class
  • Optionally you can add an Exec task to run NetBeans with this module. The sample creates a netbeans.conf file where it adds a property specifying location of extra module and runs NetBeans using its own user directory.

NetBeans evangelist Geertjan Wielenga wrote a nice introductory post about How to build NetBeans modules with Gradle.

TODOs

  • fix resource lookup when running annotation processors - see FAQ
  • possibly generate files from annotations into special directory to simplify merges
  • solve AUC generation
  • testing
  • module dependencies: use new configuration(s) to allow changes
  • solve how to run multiple modules together (fileTree copying + netBeansRun)
  • autoload/eager modules
  • RCP applications

Goals

Build standalone NetBeans modules

  • Run NetBeans with this module
  • support debugging (optional)

Build module suite

  • same as above for multiple modules
  • interdependencies (implementation deps)
  • generate autoupdate center files layout

NetBeans RCP applications

  • Build an application
  • Run it
  • Create an installer
  • Run tests

Development notes

To do a release run

./gradlew release -Prelease.scope=minor -Prelease.stage=final



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap