Subversion Repositories shark

Rev

Rev 1275 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1259 pj 1
FIRST Framework Evaluation architecture
2
---------------------------------------
3
 
4
makefile usage:
5
 
6
$ make OS=<osname> TEST=<demo> all
7
 
8
where:
9
 
10
<osname> is the name of the target operating system and it can be:
11
 
12
- MARTE for MaRTE OS
13
- SHARK for Shark
14
 
15
<demo> is the name of the test case that have to be compiled. The
16
specification of the test case is contained inside the loadfile
17
directory.
18
 
1280 pj 19
Valid extensions for the test case specification files are:
20
.fsf  - old script file
21
.fsf2 - XML version
1260 pj 22
(other extensions can be added easily)
1259 pj 23
 
1260 pj 24
For example:
25
 
26
make OS=SHARK TEST=load all
27
 
1280 pj 28
these makefile will:
29
- prepare the out directory with the common files
30
- add the shark initialization files
31
- parse a file loadfile/load.fsf (the file extension is guessed automatically
32
  by the makefile) to produce source code inside out
33
- compile the resulting shark application
1274 giacomo 34
 
1280 pj 35
-------------------------------------------------------------------------
1274 giacomo 36
 
1280 pj 37
XML Parser & Java setup
1274 giacomo 38
 
1280 pj 39
To use the XML parser (file extension .fsf2) you need to properly setup
40
your system, and you need toinstall the following libraries:
1274 giacomo 41
 
1280 pj 42
- JDOM BETA 9 - http://www.jdom.org
43
- XERCES (Parser SAX with XSD support) - http://xml.apache.org
1274 giacomo 44
 
1280 pj 45
On my Linux system, after installing the Sun's j2re,
46
I did the following commands (as root):
1275 giacomo 47
 
1280 pj 48
# mkdir j
49
# cd j
50
# wget http://www.jdom.org/dist/binary/jdom-b9.tar.gz
51
# tar xvzf jdom-b9.tar.gz
52
# cp jdom-b9/build/jdom.jar /usr/java/j2re1.4.1_02/lib/
53
# wget http://www.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.6.0.tar.gz
54
# tar xvzf Xerces-J-bin.2.6.0.tar.gz
55
# cp ./xerces-2_6_0/xercesImpl.jar /usr/java/j2re1.4.1_02/lib/
56
# cp ./xerces-2_6_0/xml-apis.jar /usr/java/j2re1.4.1_02/lib/
1275 giacomo 57
 
1280 pj 58
then, as user, I did
59
 
60
$ export CLASSPATH=/usr/java/j2re1.4.1_02/lib
61
 
62
Enjoy,
63
 
64
Michael, Giacomo, PJ