This document extends the basic instructions described in the Working With Net Beans Sources document.
For example, if you use Windows platform and chose the hg.netbeans.org as a name of the <WORKING_DIR> and C:\ as base directory then you can execute the following commands to create working directory:
>C: >cd \ >mkdir hg.netbeans.org >cd hg.netbeans.org
cd <WORKING_DIR> hg clone http://hg.netbeans.org/main >hg.clone.main.log 2>&1In case if you plan to use the release61 as the main repository then the following actions should be performed instead:
cd <WORKING_DIR> hg clone http://hg.netbeans.org/release61 >hg.clone.release61.log 2>&1After completion of the actions a <WORKING_DIR>/hg.clone.XXX.log file will contain the cloning log. Please, check the log before next step. The log should not contain any error messages.
The <MAIN_REPO_NAME> abbreviation is used below in this document instead of the actual name of a main repository (i.e. either main or release61).
cd <WORKING_DIR>/<MAIN_REPO_NAME> hg clone http://hg.netbeans.org/main/contrib >hg.clone.contrib.log 2>&1
After completion of the actions a <WORKING_DIR>/<MAIN_REPO_NAME>/hg.clone.contrib.log file will contain the cloning log, where <MAIN_REPO_NAME> is either main or release61. Please, check the log before next step. The log should not contain any error messages.
Note: It is possible to execute both tasks (i.e. "Cloning Main Repository" and "Cloning Contrib Repository") in parallel. You can start the "Cloning Contrib Repository" task immediately after a <WORKING_DIR>/<MAIN_REPO_NAME> directory will be created during execution of the "Cloning Main Repository" task.cd <WORKING_DIR>/<MAIN_REPO_NAME> ant -l ant.build.cluster.java.log -Dcluster.config=java
cd <WORKING_DIR>/<MAIN_REPO_NAME> ant -l ant.build.cluster.javafx.log -Dcluster.config=javafx
Workaround: To avoid an issue with running JavaFX application in the NetBeans IDE (Main Menu / Run / Run Main Project F6) you need change the -J-ea option to the -J-da in the netbeans_default_options property value declared in the <WORKING_DIR>/main/nbbuild/netbeans/etc/netbeans.conf file.
cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission deniedThe most probable reason of this error is the antivirus software worked in the real time file protection mode (examples of software that may cause such errors are Symantec AntiVirus and TortoiseSVN Client)