Installation of umsCodeGenerator / tableTools
Required Softwares
Following software is required for usage of umsCodeGenerator or tableTools.
-
Java 2 Platform, Standard Edition (J2SE)
Execution environment of JAVA - Define environment variable JAVA_HOME, include $JAVA_HOME/bin into the environment variable PATH. -
Xalan Java
XSLT processor - Define environment Variable XALAN_HOME.
Following software is required for build of umsCodeGenerator and tableTools.
-
ANT
JAVA based build tool of software - Define environment variable ANT_HOME, include $ANT_HOME/bin into the environment variable PATH. - perl5 (only for umsCodeGenerator version 0.3)
Additionally, following software is necessary for compilation and verification of sample programs.
- msv Validation tool of RELAX NG.
- jing Validation tool of RELAX NG.
- make (if you build samples)
- diff (if you perform verification of samples)
- gcc (if you use samples in C or C++)
- J2SE (if you use samples in JAVA)
- perl5 (if you use samples in Perl)
All of the executable of the software above should be included into the command path (eg. Environment Variable: PATH of shell).
Download latest version
Latest version of umsCodeGenerator is version 0.4 (2005080301).
Download one of following files.
Installation
Extract files from the downloaded file in the directory where you want to install files.
$ tar zxvf umsCodeGenerator-yyyymmddvv.tar.gz
Directory umsCodeGenerator/yyyymmddvv will be created - Define environment variable TABLETOOLS_HOME with this directory, include $JAVA_HOME/bin into the environment variable PATH.
In the next step, type following commands
$ setenv CC 'gcc -std=c99' $ cd $TABLETOOLS_HOME $ ant
Execution of sample can be verified with the following commands.
$ ant testAll
Directory Structure
Following directories are created in the installation
- src (source code installation only): source files
- build (source code installation only): temporal files in the process of the build
- classes: XSLT files and CLASS files used by code generation of umsCodeGenerator
- sample: samples
See Samples for usage.
License
Copyright 2005 Universal Mapping Schema group and ISAS/JAXA
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.