Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: cleanup, point to central

nb-javac is used internally by NetBeans to decouple the runtime JDK version from editor capabilities. This allows NetBeans to use the latest upstream javac without having to run on the latest JDK.


nb-javac is currently built from

https://github.com/JaroslavTulach/nb-javac

and available on maven central

https://mvnrepository.com/artifact/com.dukescript.nbjavac/nb-javac

...

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. 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

...