Building NetBeans 5.0
Basic environment
Notes:
- CVS server cvs.netbeans.org is not compatible with WinCVS or TortoiseCVS clients on Microsoft Windows Platform (issue 57402). Thus the only supported clients are either NetBeans' CVS client or command line GNU CVS client
- you need CVS 1.11.20 when you plan to use VCS Generic's profile for CVS version control system on Windows
Getting sources
By download
Go to
NetBeans download page, download source archive and unpack it on your disk. After unpacking the source archive, you should have new directory called
netbeans-src on your disk.
(Note: Sun's 'tar' cannot be used for NetBeans tarballs, use GNU tar instead)
By CVS checkout
- Create new directory on your disk
- login to CVS i.e. execute command '
cvs -d :pserver:anoncvs@cvs.netbeans.org:/cvs login' and press Enter when prompted for password
- checkout modules
- standard IDE modules
'cvs -d :pserver:anoncvs@cvs.netbeans.org:/cvs checkout -r
release50 ant apisupport autoupdate beans classfile clazz core db
debuggercore debuggerjpda diff editor extbrowser form html httpserver
i18n ide image j2ee j2eeserver java javacvs javadoc jellytools jemmy
jemmysupport junit libs mdr monitor nbbuild openide openidex projects
properties refactoring schema2beans serverplugins tasklist tomcatint
usersguide utilities versioncontrol web websvc xml xtest'
- all modules available on
release50 branch
'cvs -d :pserver:anoncvs@cvs.netbeans.org:/cvs checkout -r
release50 ant apisupport autoupdate beans classfile clazz collab
contrib core db debuggercore debuggerjpda diff editor extbrowser form
html httpserver i18n ide image installer j2ee j2eeserver java javacvs
javadoc jellytools jemmy jemmysupport junit lexer libs mdr metrics
monitor nbbuild openide openidex performance projects properties
refactoring schema2beans scripting serverplugins sysprops tasklist
tomcatint translatedfiles usersguide utilities vcscore vcsgeneric versioncontrol web websvc xml xtest'
More details about getting source by using CVS is available
here.
Building NetBeans
NetBeans IDE
$ cd netbeans-src/nbbuild
$ ant
The result NetBeans IDE build will be in two forms:
- zipfile
netbeans-src/nbbuild/NetBeans-release50-YYMMDD.zip
- directory
netbeans-src/nbbuild/netbeans
NetBeans Platform
$ cd netbeans-src/nbbuild
$ ant build-platform
The result NetBeans Platform build will be in directory
netbeans-src/nbbuild/netbeans.
NetBeans Javadoc
$ cd netbeans-src/nbbuild
$ ant build-javadoc
The result NetBeans Javadocs build will be in directory
netbeans-src/nbbuild/build/javadoc