Steps to install the software:
------------------------------
Adrian Pop [adrpo@ida.liu.se]
2009-10-22


1. Install OpenModelica 1.5.1 or later

2. Unpack Eclipse+MDT anywhere you want (e.g. to C:\ -- C:\eclipse)
   DO NOT START ECLIPSE YET.

3. Unpack OMDev.zip to c:

   After you unpack you will have a c:\OMDev directory
   with directories like tools, bin, lib, etc in it.

   Add an environment variable OMDEV=C:/OMDev
   Right click on My Computer->Properties->Advanced Tab
   ->Environment Variables->New
   OMDev.zip MUST BE INSTALLED INTO c:\OMDev

4. Unpack MetaModelica Exercises to /path/to/MetaModelica  e.g. (C:\MetaModelica)

   Read into MetaModelica/documentation/MetaModelica Expercises.ppt
   Start Eclipse and point the workspace to /path/to/MetaModelica

4b. Edit the file eclipse.bat to reflect where you put Eclipse
    (e.g. c:\eclipse\eclipse.exe   for the run command)

5. Enjoy. (Start Eclipse e.g. by running the eclipse.bat file)


Mac/Linux users
---------------------------
1. Run (cd scripts/ && ./createbuilders.sh osx)
   or  (cd scripts/ && ./createbuilders.sh linux)

MetaModelica exercises pack
---------------------------

For Windows you need to have installed:
- OpenModelica 1.5.1
- Latest OMDev-mingw-msvc.zip unpacked, and OMDEV environment variable set.
- Java 5.0
- Eclipse 3.5 with the latest MDT

Point your Eclipse workspace to this directory.
(File->Switch Workspace->/path/to/MetaModelica)

Add as new Modelica projects (if they are not already there):

00_simplesim
01_experiment
02a_exp1
02b_exp2
03_symbolicderivative
04_assignment
05a_assigntwotype
05b_modassigntwotype
06_advanced
08_pam
09_pamdecl
10_pamtrans
11_petrol
documentation

Add as new Java project:
07_OMCAndCorba

NOTES:
- When working with an exercise, close all 
  the other projects and leave just the 
  current exercise project open.
- Each exercise has a README.txt in it with assignments.
- Exercises 08->11 are just as examples 
  of how to model different languages 
  using MetaModelica.

If you need any help with anything just contact 
Adrian Pop or Martin Sjlund [{adrpo,marsj}@ida.liu.se]

2009-10-21: Modified makefiles, added previosuly missing files and 03_symbolicderivative. Martin Sjlund.
2007-08-28: Original version. Adrian Pop.
