diff --git a/dev/awips-development-environment/index.html b/dev/awips-development-environment/index.html index 41fffb16df..6ebecff2be 100644 --- a/dev/awips-development-environment/index.html +++ b/dev/awips-development-environment/index.html @@ -652,10 +652,37 @@
  • - - 5. Set Up Eclipse + + 5. Configure Eclipse + +
  • @@ -663,6 +690,26 @@ 6. Run CAVE + +
  • @@ -838,10 +885,37 @@
  • - - 5. Set Up Eclipse + + 5. Configure Eclipse + +
  • @@ -849,6 +923,26 @@ 6. Run CAVE + +
  • @@ -876,10 +970,13 @@

    AWIPS Development Environment (ADE)

    -

    Quick instructions on how to download the latest source code and run CAVE from Eclipse.

    -
    -

    Note: It is important to keep in mind these instructions are intended for a system that is specifically used for developing AWIPS. It should not be used in conjunction with installed production versions of AWIPS.

    -
    +

    Detailed instructions on how to download the latest source code and run CAVE from Eclipse.

    +
    +

    It is important to keep in mind these instructions are intended for a system that is specifically used for developing AWIPS. It should not be used in conjunction with installed production versions of AWIPS.

    +
    +
    +

    The following yum commands listed in these instructions may need to be run as the root user, but the rest of the commands should be run as the local user.

    +

    1. Remove AWIPS Instances

    First, make sure to remove any instances of AWIPS that are already installed, this can potentially cause problems when setting up the development environment. Below is an example that had CAVE installed.

    Uninstall with yum:

    @@ -895,6 +992,8 @@ yum groupremove awips2-cave

    2. Set Up AWIPS Repo

    Create a repo file named /etc/yum.repos.d/awips2.repo, and set the contents to the following:

    +
    sudo vi /etc/yum.repos.d/awips2.repo
    +
     [awips2repo]
     name=AWIPS II Repository
    @@ -904,15 +1003,19 @@ protect=0
     gpgcheck=0
     proxy=_none_
     
    -
    -

    Note: This file may already exist if AWIPS had been previously installed on the machine, so make sure to edit the baseurl.

    -
    + +
    +

    This file may already exist if AWIPS had been previously installed on the machine, so make sure to edit the baseurl.

    +

    3. Install the ADE

    Install the AWIPS Development Environment (ADE) using yum. This will install Eclipse (4.6.1), Java (1.8), Ant (1.9.6), Python 2.7 and its modules (Numpy, Matplotlib, Shapely, Jep, and others).

    yum clean all
     yum groupinstall awips2-ade
     
    +
    +

    Check the libGLU package is installed by running rpm -qa | grep mesa-libGLU. If nothing is returned, install the package via: yum install mesa-libGLU.

    +

    4. Download the Source Code

    If it's not already installed, install git:

    @@ -920,62 +1023,114 @@ yum groupinstall awips2-ade

    Next clone all of the required repositories for AWIPS:

    git clone https://github.com/Unidata/awips2.git
    +git clone https://github.com/Unidata/awips2-cimss.git
     git clone https://github.com/Unidata/awips2-core.git
     git clone https://github.com/Unidata/awips2-core-foss.git
    +git clone https://github.com/Unidata/awips2-drawing.git
     git clone https://github.com/Unidata/awips2-foss.git
    +git clone https://github.com/Unidata/awips2-goesr.git
    +git clone https://github.com/Unidata/awips2-gsd.git
     git clone https://github.com/Unidata/awips2-ncep.git
     git clone https://github.com/Unidata/awips2-nws.git
    -git clone https://github.com/Unidata/awips2-gsd.git
    -git clone https://github.com/Unidata/awips2-drawing.git
    -git clone https://github.com/Unidata/awips2-cimss.git
     
    +
    +

    Make sure to run git checkout in each repo if you'd wish to develop from a branch different from the default. It's best to do this before importing the repos into eclipse.

    +

    -

    5. Set Up Eclipse

    -

    Open eclipse by running: /awips2/eclipse/eclipse.sh

    +

    5. Configure Eclipse

    +

    Open eclipse by running: /awips2/eclipse/eclipse

    +

    It is fine to choose the default workspace upon starting up.

    +

    Set Preferences

    Verify or make the following changes to set up eclipse for AWIPS development:

    -