 |
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
-
Download a version of the XML parser XML4J from IBM
Alphaworks.
-
Install XML4J using the documentation in the downloaded package, and make
sure the valid XML4J jar file is referenced in your classpath.
-
Add the java directory inside the XSet directory to your classpath.
-
cd to the java/xset 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
Now you should have both XSet and XML4J in your classpath.
Follow instructions in the tutorial page
on how to write XML query enabled applications using XSet.