For Developers

This page describes the CPS Wildfire Management Tool (WMT) software architecture and it shows you how to build the WMT application.  The WMT software is a modular Java 6 application built on the NetBeans platform and the NASA WorldWind Java SDK, plus several other open source libraries.  This information is presented here with the hope that you will get involved with this open source project, and that you can learn how to build your own NetBeans platform applications using these, or similar technologies.

Most all of the individual modules within these projects are released under the BSD 3-Clause License.

[ software module diagram goes here ]

Getting Ready

The requirements for building the WMT software include:

The CPS Wildfire Management Tool software is comprised of three NetBeans projects stored on Java.net.

 

How to Do It

This section will show you how to download, install, and configure NetBeans; how to download the CPS and Emxsys projects from the Subversion repositories; and how to compile and run the projects.

Download, Install & Configure NetBeans IDE 7

Download the Emxsys, CPS and ICS Projects via the Team Server

You can use these steps to download the sources if you installed the Team Server plugin and if you are logged into the Project Kenai server. 

Note that if you "join" the projects, it will be somewhat easier to download the sources, the Subversion repositories will be preselected for you. You can join any Java.net project by logging into via you web browser, search for a project, and then select the "Bookmark This Project" link.  Here are the links to bookmark the CPS and Emxsys projects:

Download Emxsys Sources
  1. Get the Emxsys Framework project:
    In the NetBeans menu, select Team > Team Server > Get Sources...
  2. Update the Get Sources from Team Server dialog:
    • Logged into: Java.net
    • Java.net Repository: https://svn.java.net/svn/emxsys~svn
      You can browse to this project if it is not in the list of your member projects: use "emxsys" for your search criteria and select the Emergency Management Geomatics from the list.
    • Folder to Get: trunk
    • Local Folder: <your user folder>/NetBeansProjects/emxsys~svn
  3. When the Checkout is complete, you can open this project.
Download the CPS and ICS Sources

Here you simply repeat the above steps, but use "cps" and "ics" instead of "emxsys":

  1. Get the CPS-Suite project:
    In the NetBeans menu, select Team > Team Server > Get Sources...
  2. Update the Get Sources from Team Server dialog:
    • Logged into: Java.net
    • Java.net Repository: https://svn.java.net/svn/cps~svn
      You can browse to this project if it is not in your list of member projects: use "cps" for your search criteria and select the Campbell Prediction System project from the list.
    • Folder to Get: trunk
    • Local Folder: <your user folder>/NetBeansProjects/cps~svn
  3. When the Checkout is complete, you can open this project.
  4. Repeat this process for the ICS project.

Compile and Run the Project

The Emergency Management Geomatics (emxsys) project must be compiled before compiling the CPS and ICS plugins. After these three projects have been built, you can build the Wildfire Management Tool (emxsys_wmt) project.

 Check out the CPS Wiki on Project Kenai for more information about the CPS software development.

Source Code

The Java source code can be browsed from the Emxsys, CPS and ICS Subversion repositories located on the Java.net hosting site:

http://emxsys.java.net/sources

http://cps.java.net/sources

http://ics.java.net/sources

 

Open Source Resources

The WMT software uses open-source libraries and code from NetBeans, NASA's WorldWind SDK, the VisAD Visualization library, and the JFreeChart.