Here's an email John Olsen sent to the awips2dev infolist on 28-aug-2007. It
describes how to build CAVE and EDEX. The starting point is that you have
them installed in accordance with the installation instructions included in
the Raytheon TO6 directory. It's also a good idea to read through the
Raytheon install documents first.
***
The following instructions are from John Olsen with pseudo-xml tag inserts
from Stowe Davison. Change the directories to suit your environment. I
followed these instructions and had no problems. Once you install the
newly created CAVE files, you will need to create a "basemaps" directory under
your cave directory and copy the basemaps files to it. Or, you can set up
a soft link to the basemaps files which will be kept in a central location.
***
John Olsen wrote:
I put the source for both cave and edex under awips/src:
jho@monza:src$ pwd
/home/jho/awips2/ade/to6/awips/src
jho@monza:src$ ll
total 8
drwxr-xr-x 54 jho jho 4096 2007-07-27 13:04 cave/
drwxr-xr-x 10 jho jho 4096 2007-07-27 12:52 edex/
then did the following:
o first, compile edex through at least jibx. This sets up cave's build
for a compilation of edex's "client" target (edex's "client" target
exists for cave, not edex).
cd /home/jho/awips2/ade/to6/awips/src/edex/build
ant clean
ant build
ant jibx
For complete EDEX build add:
ant deploy
ant uEngineWeb
o in ~/awips2/ade/to6/awips/src/cave/build/build.properties, make the
following assignments
adeSource=/home/jho/awips2/ade/to6/awips/src
product=${adeSource}/cave/com.raytheon.viz/viz.product
buildDirectory=${adeSource}/cave/build/tmp
base=${adeSource}/cave/build
baseLocation=${base}/eclipse
o in ~/awips2/ade/to6/awips/src/cave/com.raytheon.edex/pre-build.xml,
modify the following targets
o invoke build.sh
cd ~/awips2/ade/to6/awips/src/cave/build
sh build.sh
o you'll see 234 fairly harmless looking warnings (deprecated calls,
unused packages, etc)
o find newly-compiled cave zipped up in
~/awips2/ade/to6/awips/src/cave/build/tmp/I.CAVE
You have to unzip the cave zip file into the cave run directory.