Netbeans 5.0 cvs configuration for AUV Workbench & various XMSF projects Don Brutzman 14 July 2006
Netbeans setup 1 Install latest Java 1.5, Netbeans 5.0 –Bundled version works well – or – Further Java setup checks –Ensure no other versions of Java or Netbeans installed –Ensure JAVA_HOME properly set –Netbeans Tools -> Update Center for updates
Netbeans setup 2 Netbeans – Tools – Update Center Update all modules for latest greatest
Netbeans cvs project setup 3 Don’t enable old version control Enable updated version control
Netbeans cvs project setup 4 Suggested target locations –C:\auv\AuvWorkbenchC:\auv\AuvWorkbench –C:\CvsProjects\DisJavaProjectC:\CvsProjects\DisJavaProject –C:\CvsProjects\DisXmlProjectC:\CvsProjects\DisXmlProject –C:\CvsProjects\SavageStudioProjectC:\CvsProjects\SavageStudioProject –C:\CvsProjects\ViskitProjectC:\CvsProjects\ViskitProject –C:\CvsProjects\XsbcProjectC:\CvsProjects\XsbcProject CVS module names AuvWorkbench AuvWorkbench disjava disjava disxml disxml SavageStudio SavageStudio Viskit+Diskit Viskit+Diskit xsbc xsbc Create meaningful target directories –Having common parent directory is helpful Select or enter module name –during initial CVS checkout
Netbeans cvs project setup 5 Basic setup procedure simpler than 4.0 –No more ‘Versioning’ panel to fool with Simple two-part process –Check out via cvs –Click to Create Project Avoid importing 4.1 settings, they may fail Follow-on directions show type-in values blocked out in red –Other values are usually found automatically
Netbeans cvs project setup 6 Server-side authentication keys must be cached prior to initial cvs checkout Use the PuTTy tool to secure-shell (ssh) into the cvs server –Example: xmsf.cvs.sourceforge.net Log in using checkout account name Screen snapshots follow
PuTTY initialization of ssh key Necessary step for software developers prior to cvs checkout
Additional developers setup1 Developers making and committing source changes into one of the cvs archives need to first install putty tools, then get account Putty security tools: – Requesting a developer account: –Don McGregor (xmsf) –Arnie Buss (Simkit)
Additional developers setup2 wincvs is separate alternative, usually not needed –
Configure Netbeans defaults to support greater memory C:\Program Files\netbeans-5.0\etc Edit file netbeans.conf –netbeans_default_options="-J-Xms32m -J-Xmx128m (etc.) changed to –netbeans_default_options="-J-Xms32m -J-Xmx1024m
New Netbeans 5.0 cvs features Top-level CVS menu Can update all projects at once Can show CVS committers by name and versions by number in text editor Features presentation:
Note committer names, line by line
Further resources Tutorial by Arnie Buss on Netbeans use provides further background and details Don McGregor's slideset guides to Concurrent Version System (CVS), Concurrent Version System (CVS) Using CVS with SSH TunnelsUsing CVS with SSH Tunnels and Ant available onlineAnt XMSF Bugtracker
cvs checkout + project setup AuvWorkbenchAuvWorkbench disjavadisjava disxmldisxml SavageStudioSavageStudio Viskit+DiskitViskit+Diskit xsbcxsbc configuration troubleshootingconfiguration troubleshooting
AuvWorkbench project project index
CVS Root:
Module to checkout: AuvWorkbench Local folder: c:\auv
Location: c:\auv\AuvWorkbench
Build and Run Actions are found automatically from build.xml
Source package folder: C:\auv\AuvWorkbench\src
Java sources classpath: c:\auv\AuvWorkbench\launchwb.jar
dis-java project project index
CVS Root: :ext:
Module to checkout: disjava Local folder: C:\CvsProjects\DisJavaProject
Build and Run Actions are found automatically from build.xml
dis-xml project project index
CVS Root:
Module to checkout: disxml Local folder: C:\CvsProjects\DisXmlProject
Location: C:\CvsProjects\DisXmlProject\disxml Project Name: disxml
Build and Run Actions are found automatically from build.xml
SavageStudio project project index
CVS Root:
Module: SavageStudio Local Folder: C:\CvsProjects\SavageStudioProject
Location: C:\CvsProjects\SavageStudioProject\SavageStudio
Build and Run Actions are found automatically from build.xml
Source package folders
Simkit/Viskit/Diskit/Gridkit Discrete-event simulation (DES) project index
CVS Root:
Modules: DISKIT,Viskit Local Folder: C:\CvsProjects\ViskitProject
Note that only Viskit needs to be built. Diskit is updated & rebuilt automatically.
Build and Run Actions are found automatically from build.xml
xsbc project XML Schema-based Binary Compression project index
CVS Root:
Module to checkout: xsbc Local folder: C:\CvsProjects\XsbcProject
Location: C:\CvsProjects\XsbcProject\xsbc
Build and Run Actions are found automatically from build.xml
Configuration Troubleshooting project index
Setting main project preference Main project selection governs assignment of toolbar buttons at top Select Projects tab Right-click desired main project Set main project preference Build
cvs update problem: use external shell SSH command: c:\Program Files\PuTTY\plink.exe
CVS update problem: can’t reset “sticky bits” Repeat cvs update, check Reset box check this box to reset
Not yet ready…
TOPTIVA C:\CvsProjects\ToptivaProject project index
CVS archive on surfaris Need ssh script to connect Site may change due to server reconfigurations