Mobility Designer 2 - Step by step how to download and compile NetBeans sources from Mercurial repository
Abstract
This tutorial shows how to download and compile NetBeans sources from Mercurial repository.
Requirements:
It's to installed following software:
- Mercurial client
- Apache Ant 1.7 or newer
- Java 1.5 (Java 6.0 is not supported for NetBeans compilation)
How to "check out" NetBeans sources from repository:
- create directory for NetBeans sources and name it "trunk"
- cd trunk
- hg clone http://hg.netbeans.org/main
- Usually it takes about 20 to 40 minutes to download sources.
How to compile it:
- It's necessary to set additional system variable for Ant. For unix/linux systems type: export ANT_OPTS=-Xmx512m , for windows: set ANT_OPTS=-Xmx512m
- inside of the trunk folder type: cd main
- then: ant (to start compilation). Compilation is about 20-40 minutes, it depends on the hardware.
- to run netbeans type: ant tryme (inside of main folder)
contact: Karol Harezlak