|
Examples
To run the examples, offcourse, xelem.1.0.1.jar needs to be on your classpath.
What the examples also need is a configuration file. You will find such a
file suite for the examples in the directory
examples/config,
with the name xelem.xml.
Class- and sourcefiles of the examples as well as xelem.xml
can be found in the directory examples,
provided with the xelem-distribution.
See: download.
Running the examples from the commandlineTo run the examples from the commandline theconfig-directory
needs to be in the same folder as the examples. Like this:
examples
|--HelloExcel.class
|--Fibonacci.class
|--...
|--config
|--xelem.xml
Run Fibonacci:
Running the examples in an editorI don't know about other editors, but Eclipse will have your java-classes that do not belong in some package in a default package. Theuser.dir,
where the VM starts, will therefore be the project-folder and the
config-directory should be a direct child of this project-folder.
That looks like this:
examples (project-folder)
|--(default package)
| |--HelloExcel.java
| |--Fibonacci.java
| |--...
|--config
|--xelem.xml
|