FeaturesPluginsDocs & SupportCommunityPartners

Building NetBeans 5.0


Basic environment


Component
Version
Download
More Information
Java SDK
1.4.2_09 http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
Installation instructions
Apache Ant
1.6.5
http://archive.apache.org/dist/ant/binaries/
How to build with ant
CVS client
1.11.20
Sources only ftp://ftp.gnu.org/gnu/non-gnu/cvs/source/stable/1.11.20/
NetBeans.org CVS Access

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






Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by