
3.3) Compiling the Supporting GTS Library Files.
3.3a) Precompiled Versions of GTS:
If you have received a pre-compiled version of the GTS package, this section may be skipped (however you
may rebuild the various servlets and jar files if you wish to make any changes to the runtime configuration
before deployment.
Compile the OpenGTS library ".jar "and servlet ".war" files:
'cd' into the OpenGTS installation directory and compile the jar files, and servlet war files, using the supplied Ant
"build.xml" script:
/usr/local> cd $GTS_HOME
/usr/local/OpenGTS_1.2.3> ant all
This will build several jar files, and war files, in the "$GTS_HOME/build/" directory, including:
• "lib/gtsutils.jar" – This jar contains the base utilities and db access tools.
• "lib/gtsdb.jar" – This jar contains the database access utilities and table definition.
• "lib/gtsdmtp.jar" – This jar contains the SQL db datastore wrappers around the OpenDMTP server.
• "lib/tools.jar" – This jar contains miscellaneous system check and administrative tools.
• "track.war" – This "war" file (web-archive) contains the web-interface 'Track' servlet.
• "events.war" – This "war" file contains the web accessible EventData access servlet.
• "mologogo.war" – This "war" file contains the Mologogo device servlet.
• "gc101.war" – This "war" file contains support for the Sanav GC-101 device.
• "gprmc.war" – This "war" file contains a servlet support server for a generic http-based device server.
(Note: this is only a partial list. Other modules will be created as well).
The build should complete normally. There may be some warnings displayed, however if the warning or error can be
ignored, there will also be a message indicating this next to the warning/error (or on a line just below the warning/error).
OpenGTS Configuration and Installation Manual Page 13 of 60
Comentários a estes Manuais