Sl No | NetBeans Release Version | NB javac plugin version | OpenJDK Javac Source | nb-javac revision |
---|---|---|---|---|
1 | 11.0 | 1.6 | jdk-12+25 | 304c4120e4d9 |
To download nb-javac latest code , please run the below command.
hg clone http://hg.netbeans.org/main/nb-java-x
Steps to create nb-javac plugin.
- Apply the attached patch patch-harness.diff in NetBeans and then rebuild NetBeans
- Update the Specification-Version in:
make/langtools/netbeans/nb-javac-modules/api/manifest.mf
make/langtools/netbeans/nb-javac-modules/impl/manifest.mf
make/langtools/netbeans/nb-javac-modules/kit/manifest.mf
make/langtools/netbeans/nb-javac-modules/impl/nbproject/project.xml
make/langtools/netbeans/nb-javac-modules/kit/nbproject/project.xml. Please check-in these updated files into nb-javax repo. - Create the NBMS
Run the below command in make/langtools/netbeans/nb-javac-modules/ . NBMs will be created in make/langtools/netbeans/nb-javac-modules/build/updates- ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness clean
- ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness build
- ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness nbms
- Sign the NBMs. Then create zip with name "nbjavac-plugin-files.zip" containing above three signed NBMs
- Upload the signed nbjavac-plugin-files.zip to plugin update center.
http://plugins.netbeans.org/plugin/73454/nb-javac-library