README updates; build inc.

This commit is contained in:
mjames-upc 2017-08-29 10:10:28 -06:00
parent 0185cf560b
commit 26c0fdb8c3
2 changed files with 76 additions and 2 deletions

View file

@ -43,4 +43,78 @@ Through a grant provided by [Jetstream](https://jetstream-cloud.org/), Unidata i
* [awips2-goesr](https://github.com/Unidata/awips2-goesr) * [awips2-goesr](https://github.com/Unidata/awips2-goesr)
* [awips2-rpm](https://github.com/Unidata/awips2-rpmbuild) * [awips2-rpm](https://github.com/Unidata/awips2-rpmbuild)
[Instructions for setting up the AWIPS Development Environment.](http://unidata.github.io/awips2/dev/awips-development-environment/)
# Setting up the AWIPS Development Environment (ADE)
Instructions on how to deploy CAVE from Eclipse.
1. Change `/etc/yum.repos.d/awips2.repo` to
[awips2repo]
name=AWIPS II Repository
baseurl=http://www.unidata.ucar.edu/repos/yum/awips2-dev/
enabled=1
protect=0
gpgcheck=0
proxy=_none_
2. `yum clean all && yum groupinstall awips2-ade`
This will install Eclipse (4.5), Java (1.8), Ant, Maven, Python 2.7 and its modules (Numpy, Shapely, etc.)
3. `git clone https://github.com/Unidata/awips2.git`
The full list of repositories required as of release 17.1.1:
git clone https://github.com/Unidata/awips2.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-foss.git
git clone https://github.com/Unidata/awips2-ncep.git
git clone https://github.com/Unidata/awips2-goesr.git
git clone https://github.com/Unidata/awips2-rpm.git
Optional repositories:
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
4. Run `/awips2/eclipse/eclipse.sh`
* Preferences > Java
Set to **/awips2/java**
* Preferences > PyDev > Python Interpreter
Set to **/awips2/python/bin/python** (should be resolved by Auto-Config)
* File > Import > General > Existing Projects Into Workspace
Import all of the git cloned project folders **EXCEPT** for the main (first) **github.com/Unidata/awips2.git** directory (which should be **~/awips2**).
You'll want to import **~/awips2** in three parts to ensure a clean and error-free Eclipse build:
1. Import **awips2/cave** > Select All Projects > Finish
2. Import **awips2/edexOsgi** > Select All Projects > Finish
3. Import **awips2/Radar** > Select All Projects > Finish
> The **Radar** folder contains the EDEX Radar Server plugins. Though the Unidata release does not build or use the radar server, the common libraries are required for other AWIPS radar processing and visualization plugins.
Now import all other repositories fully:
Select **awips2-core**, **awips2-core-foss**, **awips2-foss**, **awips2-ncep**, etc. > Select All Projects > Finish
* Project > Clean
Run a clean build and ensure no errors are reported.
5. Run **com.raytheon.viz.product.awips/developer.product**
Double-click the **developer.product** file to open the Product View in Eclipse. Select **Overview** > **Synchronize** and then right-click the file in the left-side package explorer:
Select **Run As** > **Eclipse Application** to launch CAVE in the development environment.
Select **Debug** > **Eclipse Application** to launch CAVE in in debug mode.

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
export AWIPSII_VERSION="17.1.1" export AWIPSII_VERSION="17.1.1"
export AWIPSII_RELEASE="2" export AWIPSII_RELEASE="3"
. /etc/profile.d/awips2.sh . /etc/profile.d/awips2.sh