You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Sl NoNetBeans Release VersionNB javac plugin versionOpenJDK Javac Source
111.01.6jdk-12+25


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.

  1. Apply the attached patch patch-harness.diff in NetBeans  and then rebuild NetBeans
  2. 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.
  3.  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
    1. ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness clean
    2. ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness build
    3. ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb} -Dnbplatform.default.harness.dir=${path-to-built-nb}/harness nbms
  4. Sign the NBMs. Then create zip with name "nbjavac-plugin-files.zip"  containing above three signed NBMs
  5.  Upload the signed nbjavac-plugin-files.zip to plugin update center.
     http://plugins.netbeans.org/plugin/73454/nb-javac-library




  • No labels