Presentation is loading. Please wait.

Presentation is loading. Please wait.

Netbeans 6.0 version control configuration for AUV Workbench & various XMSF projects TODO: check changes in all Netbeans 5 screens Don Brutzman

Similar presentations


Presentation on theme: "Netbeans 6.0 version control configuration for AUV Workbench & various XMSF projects TODO: check changes in all Netbeans 5 screens Don Brutzman"— Presentation transcript:

1 Netbeans 6.0 version control configuration for AUV Workbench & various XMSF projects TODO: check changes in all Netbeans 5 screens Don Brutzman brutzman@nps.edu 26 December 2007

2 Netbeans setup 1 Install latest Java 1.6, Netbeans 6.0 –Bundled version works well: http://www.netbeans.org http://www.netbeans.org –http://java.sun.com or http://java.sun.com/j2se/1.6.0/download.jsphttp://java.sun.com http://java.sun.com/j2se/1.6.0/download.jsp –Further Java setup checks –Ensure no other versions of Java or Netbeans installed –Ensure JAVA_HOME properly set –Netbeans Tools -> Update Center for updates

3 Netbeans setup 2 Netbeans – Tools – Update Center Update all modules for latest greatest

4 Netbeans cvs project setup 3 Don’t enable old version control Enable updated version control

5 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

6 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

7 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

8 PuTTY initialization of ssh key 1 2 3 4 Necessary step for software developers prior to cvs checkout

9 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: –http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Requesting a developer account: –Don McGregor (xmsf) mcgredo@nps.navy.milmcgredo@nps.navy.mil –Arnie Buss (Simkit) abuss@nps.navy.milabuss@nps.navy.mil

10 Additional developers setup2 wincvs is separate alternative, usually not needed –http://www.wincvs.org/download.htmlhttp://www.wincvs.org/download.html

11 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

12 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: http://www.javalobby.org/eps/netbeans5 http://www.javalobby.org/eps/netbeans5

13 Note committer names, line by line

14

15 Further resources Tutorial by Arnie Buss on Netbeans use provides further background and details http://diana.cs.nps.navy.mil/~ahbuss/CVSNetbeans http://diana.cs.nps.navy.mil/~ahbuss/CVSNetbeans 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 http://xchat.movesinstitute.org/bugzilla http://xchat.movesinstitute.org/bugzilla

16 cvs checkout + project setup  AuvWorkbenchAuvWorkbench  disjavadisjava  disxmldisxml  SavageStudioSavageStudio  Viskit+DiskitViskit+Diskit  xsbcxsbc  configuration troubleshootingconfiguration troubleshooting

17 AuvWorkbench project https://www.movesinstitute.org/xmsf/xmsf.html#Projects-AUV project index

18 CVS Root: :ext:anonymous@xmsf.cvs.sourceforge.net:/cvsroot/xmsf

19 Module to checkout: AuvWorkbench Local folder: c:\auv

20 Location: c:\auv\AuvWorkbench

21 Build and Run Actions are found automatically from build.xml

22 Source package folder: C:\auv\AuvWorkbench\src

23 Java sources classpath: c:\auv\AuvWorkbench\launchwb.jar

24 dis-java project project index

25 CVS Root: :ext: anonymous @xmsf.cvs.sourceforge.net:/cvsroot/xmsf

26 Module to checkout: disjava Local folder: C:\CvsProjects\DisJavaProject

27

28 Build and Run Actions are found automatically from build.xml

29

30 dis-xml project project index

31 CVS Root: :ext:anonymous@xmsf.cvs.sourceforge.net:/cvsroot/xmsf

32 Module to checkout: disxml Local folder: C:\CvsProjects\DisXmlProject

33

34 Location: C:\CvsProjects\DisXmlProject\disxml Project Name: disxml

35 Build and Run Actions are found automatically from build.xml

36

37 SavageStudio project project index

38 CVS Root: :ext:anonymous@xmsf.cvs.sourceforge.net:/cvsroot/xmsf

39 Module: SavageStudio Local Folder: C:\CvsProjects\SavageStudioProject

40

41 Location: C:\CvsProjects\SavageStudioProject\SavageStudio

42 Build and Run Actions are found automatically from build.xml

43 Source package folders

44 Simkit/Viskit/Diskit/Gridkit Discrete-event simulation (DES) project index

45 subversion Root: https://eos.nps.edu/wcm/Viskit/trunk Anonymous access not permitted, POC abuss@nps.eduabuss@nps.edu

46 accept server signature

47 browse folders, select trunk for checkout

48 checkout to local disk directory (same root locations for Viskit, Diskit)

49 Netbeans checkout in progress..

50 Following default checkout, run build-run-default-plain

51 build-run-default-plain result Here is current default screen, ready to open/create event graphs or assemblies.

52 subversion Root: https://eos.nps.edu/wcm/DISKIT/trunk Anonymous access not permitted, POC abuss@nps.eduabuss@nps.edu

53 browse folders, select trunk for checkout

54 checkout to local disk directory (same root locations for Viskit, Diskit)

55 open project following checkout DISKIT does not need to be built, that is instead triggered by Viskit build.xml task build.examples

56 xsbc project XML Schema-based Binary Compression project index

57 CVS Root: :ext:anonymous@xmsf.cvs.sourceforge.net:/cvsroot/xmsf

58 Module to checkout: xsbc Local folder: C:\CvsProjects\XsbcProject

59

60 Location: C:\CvsProjects\XsbcProject\xsbc

61 Build and Run Actions are found automatically from build.xml

62 Configuration Troubleshooting project index

63 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

64 cvs update problem: use external shell SSH command: c:\Program Files\PuTTY\plink.exe

65 CVS update problem: can’t reset “sticky bits” Repeat cvs update, check Reset box check this box to reset

66 Not yet ready…

67 TOPTIVA C:\CvsProjects\ToptivaProject project index

68 CVS archive on surfaris Need ssh script to connect Site may change due to server reconfigurations


Download ppt "Netbeans 6.0 version control configuration for AUV Workbench & various XMSF projects TODO: check changes in all Netbeans 5 screens Don Brutzman"

Similar presentations


Ads by Google