If you don't have the sources, clone it from http://hg.netbeans.org/main
$ mkdir home $ cd home $ hg -v clone http://hg.netbeans.org/main $ cd main
If you have already the sources, update it:
$ hg -v pull -u
Steps to build
$ set ANT_HOME=
$ export ANT_HOME=
Download the latest binaries of NetBeans 6.9 from http://netbeans.org/downloads/index.html and unzip it into nbbuild/netbeans. IMPORTANT: you should download bundle which contains ÃÂâÃÂÃÂÃÂÃÂJava Web and EEÃÂâÃÂÃÂÃÂÃÂ
$ cd nbbuild/sierra $ ant init $ ant clean $ ant build
The folder home/main/nbbuild/netbeans will contain the NetBeans with built SOA and XML modules.
$ ant get-test // downloads BPEL projects from cvs.dev.java.net/open-jbi-components/driver-tests/bpelse $ ant unit-test // runs unit tests $ ant test // runs sample and project tests