 |
XSet
Installation
Instructions
|
These instructions are for XSet Version 1.1 and later.
For users who have obtained XSet with the Ninja software distribution,
follow the instructions inside the distribution for installation help.
To set up XSet, do the following:
-
Download
the XSet source release here, and uncompress (either by unzipping or tar
xzf) into a directory of your choice
-
For version 2.0, download a version of the Apache Xerces XML Parser
from Apache
For version 1.1, you can either download the discontinued XML parser
XML4J from my website, or else download Xerces, then download DOMParser.java
and compile it into the 1.1 distribution.
-
Make sure that the XML parser jar file is referenced correctly in
your CLASSPATH environmental variable.
-
Add the java directory inside the XSet directory to your
CLASSPATH.
-
cd to the java/ninja/xset (for XSet 2.0) or java/xset
(for XSet 1.1) directory inside where XSet has been uncompressed, and type
make to compile the source. (You must have a JDK 1.1.x or 1.2
compatible compiler in your valid path)
-
If you want to run the Swing application demo, you'll need to either have
JDK 1.2 or download the Swing libraries from Sun's website. The swing application
is not in the makefile, so just go to the java directory and type
java xset/SwingDemoApp.java
Follow instructions in the tutorial page
on how to write XML query enabled applications using XSet.