Developer Resources
From DaVinci
Contents |
OSATE Installation/Configuration
- Install Eclipse 3.1.2
- Install EMF 2.1.2 (Update site - http://download.eclipse.org/tools/emf/updates/site.xml)
- Install GEF 3.1.1 (Download archive - GEF-ALL-3.1.1.zip)
- Remember to enable your GEF plug-in through the Eclipse Help -> Software Updates -> Manage Configuration menu.
- Install AADL 1.2.4 (Update site - http://la.sei.cmu.edu/aadlinfosite/OSATEUpdateSite)
- Open Source AADL Tool Environment 1.2.4 (Included in OSATE Frontend, Analysis Plug-ins, and TopCaseD for OSATE 1.2.4)
- Open Source AADL Tool Environment Analysis Plug-ins 1.2.4 (Included in OSATE Frontend, Analysis Plug-ins, and TopCaseD for OSATE 1.2.4)
- AADL Editor 0.8.2 (Included in OSATE Frontend, Analysis Plug-ins, and TopCaseD for OSATE 1.2.4)
SEI CVS repository access
Assuming that the user has set up the ssh stuff, he can explore the complete OSATE CVS repository in Eclipse. Only one folder is writeable for the team members though; HEAD/external/davinci. Currently you'd see the following folders under davinci.
- edu.cmu.sei.aadl.anotherplugin. Obsolete, will be removed.
- edu.cmu.sei.aadl.portgroupcollapse. Obsolete, will be removed.
- Examples/ATL. Contains a small ATL example.
Checkout from HEAD and include the project in your workspace, and you should be ready to go.
ATL resources
Discussion group for ATL related topics: [1]
Subversion (SVN)
If you use the SVN CLI, the following command will show you which files are locked.
svn info -R http://seiproject.homeip.net:8088/svn/davinci/ | grep -B 10 -A 2 lock
JUnit
We will use JUnit as our test harness to facilitate unit testing and possibly integration/system testing.
Basics
Remember that source code should be in a src/ directory and test code should be in a test/ directory. Test classes in the test/ directory should be in the same java package as the classes that they will test.
Helpful Links
Clover
Clover is a tool to determine percentage of code covered by test executions. It can be integrated into builds through ant scripts and generate reports in HTML. Clover can also run inside Eclipse to show code covered by unit tests.
Helpful Links
VNC
VNC is a tool for sharing a desktop between two computers. One machine acts as a server and the client, a.k.a the viewer, connects to the server and captures its desktop. The client can control the server and its desktop as if it were the local desktop.
Installation
The recommended VNC distribution is UltraVNC. In the 'upload' directory on the team ftp server there is a file, vnc.zip, which contains both the server and client. Normally the users are recommended to install both the server and client, since there might be occasions when a user want to act as a server and share the desktop with others.
Configuration
- Hostname: seiproject.homeip.net
- Port: 5900
With the installation, there is a html page that explains the details of the configuration. The server requires far more configuration items, whereas the only area of concern for the client is the quality of the current network connnection, which impacts the resolution settings.
See the below guidelines regarding the viewer settings
- LAN Connection: AUTO, LAN or ULTRA quality with 'Full Colors'
- External Broadband: MEDIUM with 256 colors
Eclipse tricks
Follow this link for useful eclipse tricks [2]