This page contains an overview on how to build and install the system.
To build tXSchema from the source, there are three steps involved:
Important!
After downloading these packages, make sure the fully qualified path for
each of the .jar files listed above is present in your CLASSPATH
environment variable.
If ant
is not already present on your system, browse to
http://ant.apache.org/ to obtain and install ant
. This project was developed using
ant
version 1.6.5 (built September 2006).
In the top level directory of this package, you will find a file named
build.xml
. The ant tool is expecting a file with this name; to begin the
build process, simply type:
$ ant
This command will create directories build
and dist
; it should compile
without any errors (but maybe a few warnings!). This process will
create a new jar file (TXSchema.jar) located in the dist directory. Include
this jar file in your CLASSPATH environment variable.
To run the JUnit tests of the temporal validator (a.k.a. txmllint), simply type:
$ ant unitttest
Note that the unittests are dependent on the results produced by the squash tool, it is highly recommended that the user follow the Tutorials first to run the squash tool on all four test cases and the perform the unittests.
At this point, you have built tXSchema and are ready to install.
Assume the path name of the source code is
$ /home/johndoe/tXSchema
To run the system, please set the TXSCHEMA_HOME environment variable first
$ export TXSCHEMA_HOME=/home/johndoe/tXSchema
The executable scripts (namely squash, unsquash and txmllint) which invoke the TXSchema.jar package are located at
$ /home/johndoe/tXSchema/executable