Last updated August 21, 2011 16:30, by Derek Fitzsimons
ATCS Air Traffic Control Simulator Wiki
Aim
This aim of this project is to produce a reasonable facsimile of an Air Traffic Control System.
Technical Details
- Development language: Java
- GUI: Swing
- Preferred IDE: Netbeans 7.0
- Unit Tests: Junit 4
Continuous Integration / Testing
- Jenkins
- Checkstyle
- PMD
- CPD
- Findbugs
How To Build
Windows
For a basic build use the build.xml Ant script targets compile and jar.
ensure the following environment variables are set:
| Environment Variable | Description |
|---|---|
| FINDBUGS_HOME | Full path to Findbugs 1.3.9 installation |
| PMD_HOME | Full path to PMD 4.2.5 installation |
| CHECKSTYLE_HOME | Full path to Checkstyle 5.4 installation |
Linux
As of 21/08/2011 I haven't set up a build in a Linux environment. I use Ubuntu normally, so when I get around to it expect to see Ubuntu related settings. I don't expect there to be anything special above and beyond the Windows set up.
Continuous Integration (Jenkins)
I use Jenkins to run continuous integration. There are 4 Ant targets in the build script to run tests and static analysis reports.
- test
- Run JUnit tests.
- findbugs
- Run Findbugs static code analysis.
- pmd
- Run PMD static code analysis.
- checkstyle
- Run Checkstyle to ensure that the coding style is consistent across the code base.
The test, pmd and checkstyle Ant targets can be run at any time. The findbugs Ant target requires the compile ant target to have been run in advance.





