Which version of Swing is required?
This release uses Swing 1.1 (JFC 1.1). Swing is only used by the sample programs and is not required by the parser itself.
How do I recompile the source files?
To build &ParserName; you need the Java Development
Kit (JDK) version 1.2 (or higher) installed on your machine.
The actual build is performed by the Ant program which is
written in Java and is a subproject of the Apache
Once you have extracted both the source and tools packages in the same directory, you can invoke a build by either using the "build.bat" file for Windows platforms or the "build.sh" file for UNIX platforms. Before invoking either one of these scripts, though, be sure to set the JAVA_HOME environment variable to the installed location of your JDK.
The script will invoke the Ant build program for you which displays the list of allowed build targets. To only compile the source files, type "build compile" (on Windows platforms) at the command line in the directory where you extracted &ParserName;; to build the Jar files, type "build jars"; and to build everything, including documentation, type "build all".
How do I regenerate the API documentation?
To regenerate the API documentation, you need to set up your environment to build &ParserName;. Instead of typing "build all", you type "build javadocs".
How do I import &ParserName; into Visual Age for Java
How do I get &ParserName; to run on the Mac under MRJ?
Prerequisites (available from
Instructions (other variations would work also):
dom.Writer" for the file, and be
sure that "Save as Application" is selected
(this is the default) and save the file.
Why do I get an ArrayIndexOutOfBoundsException in the Symantec Visual Cafe debugger?
The Visual Cafe debugger is set to trap
ArrayIndexOutOfBoundsException exceptions by
default. &ParserName; sometimes uses
ArrayIndexOutOfBoundsException internally to
signal exceptional, but not erroneous conditions. In order to
run &ParserName; inside Visual Cafe's debugger, you need to
turn off the trapping of these exceptions.
To do this:
java.lang.ArrayIndexOutOfBoundsException.