Download Java CoG Kit Manual

Transcript
Inside the <jglobus-devel> directory, another directory named jglobus will be
created. This directory will be represented by <cog-jglobus-src>.
You can now proceed to compile jglobus, as described in Section 3.5.1.
3.4.4
OGCE Stable Source
The OGCE stable source is not available at this time. Please use the development
OGCE source (3.4.5).
3.4.5
OGCE Development Source
The development version of OGCE can be retrieved from our source repository
using anonymous CVS access4 . Please not that jglobus is needed in order to use
OGCE. This section will provide instructions to download both jglobus and OGCE.
We suggest that you first create a new directory in which to store the development
version of jglobus. For convenience this directory will be referred to as <cogdevel>. We recommend that you name this directory ”cog”.
> mkdir <cog-devel>
> cd <cog-devel>
Login to the CVS server:
> cvs -d :pserver:[email protected]:/home/dsl/cog/CVS login
Hit ENTER when you are asked for a password. After the login step, you can
check out the jglobus module with the following command:
> cvs -d
co
> cvs -d
co
:pserver:[email protected]:/home/dsl/cog/CVS \
-r jglobus-jgss jglobus
:pserver:[email protected]:/home/dsl/cog/CVS \
-r jglobus-jgss ogce
Inside the <cog-devel> directory, two directories named jglobus and ogce will
be created. These directories will be represented by <cog-jglobus-src>, respectively <cog-ogce-src>.
You can now proceed to compile OGCE, as described in Section 3.5.2
3.5
Compiling
This section will explain the steps required to compile the Java CoG Kit.
3.5.1
Compiling JGlobus
To compile jglobus, simply do the following:
> cd <cog-jglobus-src>
> ant dist
This will compile and build jglobus. The build process will create a build directory in the <cog-jglobus-src> directory. The build directory will contain all the
compiled classes, the Java CoG Kit directory and a set of examples:
4
You need to have CVS installed on your system before downloading the jglobus development version
21