Subversion Repositories shark

Rev

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

FIRST Framework Evaluation architecture
---------------------------------------

makefile usage:

$ make OS=<osname> TEST=<demo> all

where:

<osname> is the name of the target operating system and it can be:

- MARTE for MaRTE OS
- SHARK for Shark

<demo> is the name of the test case that have to be compiled. The
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
(other extensions can be added easily)

For example:

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

-------------------------------------------------------------------------

XML Parser & Java setup 

To use the XML parser (file extension .fsf2) you need to properly setup 
your system, and you need toinstall the following libraries:

- JDOM BETA 9 - http://www.jdom.org
- XERCES (Parser SAX with XSD support) - http://xml.apache.org

On my Linux system, after installing the Sun's j2re, 
I did the following commands (as root):

# 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/

then, as user, I did

$ export CLASSPATH=/usr/java/j2re1.4.1_02/lib

Enjoy,

Michael, Giacomo, PJ