Installation


Download http://lambda.uta.edu/XQPull.tgz and extract the files. On unix, this is done using:

tar xfz XQPull.tgz
To compile the files, you need Sun's J2SE JDK 5.0 Java and the jar files:

To compile XQPull on Unix:

  1. change the CLASSPATH in Makefile
  2. do "make"
  3. do "make run" to evaluate an XQuery
  4. do "make gui" to evaluate an XQuery using the GUI
Optional steps:
  1. do "make data/test.xqe" to run ~50 XQueries
  2. do "make xmlgen; make XMark/test.xqe" to test XMark queries against 100MB of data

On Windows:

  1. change the first lines of make.bat and run.bat to point to your jar files
  2. do "make"
  3. do "xquery" to evaluate an XQuery

The files sym.java, XQueryLex.java, and XQueryParser.java have been generated automatically by the JLex scanner generator and the CUP parser generator. The files *.out.java and xquery.cup have been generated automatically by the Gen package for abstract syntax trees. Do not modify these files; change the *.gen files instead. The documentation for the GEN package is given here.

Copyright (c) 2006 by Leonidas Fegaras, the University of Texas at Arlington. All rights reserved. This material is provided as is, with absolutely no warranty expressed or implied. Any use is at your own risk. Permission is hereby granted to use or copy this program for any purpose, provided the above notices are retained on all copies.


Last modified: 06/09/06 by Leonidas Fegaras