ScalaBuild
Build Scala plugin From Hg Source
Clone NetBeans' Source
- hg clone http://hg.netbeans.org/main nbsrc
- hg clone http://hg.netbeans.org/main/contrib nbsrc/contrib
Build minim IDE for Scala plugin
- export ANT_OPTS="-Xmx1024M -XX:MaxPermSize=96m"
- cd nbsrc
- ant build -l ant.build.cluster.java.log -Dcluster.config=java
- If you want to use this minim IDE to develop NetBeans trunk project, for example, Scala Plugin's modules, you also need cluster 'apisupport'. You can build a single cluster based on above build:
ant -Drebuild.cluster.name=nb.cluster.apisupport rebuild-cluster
or download and install "NetBeans Plugins Development" module via Update Center
Build Scala Plugin
- cd nbsrc/contrib/scala.kit
- ant scala-clean
- ant scala-build
- ant scala-nbm