16,9 → 16,7 |
specification of the test case is contained inside the loadfile |
directory. |
|
Valid extensions for the test case specification files are: |
.fsf - old script file |
.fsf2 - XML version |
Valid extensions for the test case specification files are: .fsf |
(other extensions can be added easily) |
|
For example: |
25,40 → 23,25 |
|
make OS=SHARK TEST=load all |
|
these makefile will: |
- prepare the out directory with the common files |
- add the shark initialization files |
- parse a file loadfile/load.fsf (the file extension is guessed automatically |
by the makefile) to produce source code inside out |
- compile the resulting shark application |
or |
|
------------------------------------------------------------------------- |
make OS=SHARK TEST=loadxml java |
|
XML Parser & Java setup |
to use the XML parser (Example loadxml.fsf) |
|
To use the XML parser (file extension .fsf2) you need to properly setup |
your system, and you need toinstall the following libraries: |
NOTE: setup the CLASSPATH variable inside |
|
- JDOM BETA 9 - http://www.jdom.org |
- XERCES (Parser SAX with XSD support) - http://xml.apache.org |
generators/java/makefile |
generators/java/java_gen |
|
On my Linux system, after installing the Sun's j2re, |
I did the following commands (as root): |
to compile and execute java class files you need |
also the libraries |
|
# mkdir j |
# cd j |
# wget http://www.jdom.org/dist/binary/jdom-b9.tar.gz |
# tar xvzf jdom-b9.tar.gz |
# cp jdom-b9/build/jdom.jar /usr/java/j2re1.4.1_02/lib/ |
# wget http://www.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.6.0.tar.gz |
# tar xvzf Xerces-J-bin.2.6.0.tar.gz |
# cp ./xerces-2_6_0/xercesImpl.jar /usr/java/j2re1.4.1_02/lib/ |
# cp ./xerces-2_6_0/xml-apis.jar /usr/java/j2re1.4.1_02/lib/ |
JDOM BETA 9 - http://www.jdom.org |
XERCES (Parser SAX with XSD support) - http://xml.apache.org |
|
then, as user, I did |
|
$ export CLASSPATH=/usr/java/j2re1.4.1_02/lib |
|
Enjoy, |
|
Michael, Giacomo, PJ |
these makefile will: |
- prepare the out directory with the common files |
- add the shark initialization files |
- parse loadfile/load.fsf to produce source code inside out |
- compile the resulting shark application |