7.5. Updating Ptolemy II

The BCVTB is a combination of a subset of the Ptolemy II software package and code developed by LBNL. This section explains how to update the subset of Ptolemy II that is used by the BCVTB. The process is the same for Linux and Mac OS X, and the files produced by this process will run on Linux, Mac OS X and Windows.

To update the subset of Ptolemy II that is used by the BCVTB, proceed as follows:

  1. Download the Ptolemy II source code from http://ptolemy.berkeley.edu/ptolemyII/ptII8.0/index.htm to a directory, say to ~/ptII-dev.

  2. Compile Ptolemy II by typing

    cd ~/ptII-dev
    export PTII=`pwd`
    rm -f config.*
    ./configure
    make fast install
    

  3. Go to the directory where the BCVTB is installed, and type

    export BCVTB_PTIISrc=$PTII
    ant updatePtolemyFiles
    export PTII=""
    

    This will copy the subset of Ptolemy II that is used by the BCVTB to the directory bcvtb/lib/ptII/ptolemy. The statement export PTII="" avoids that the Ptolemy II distribution in ~/ptII-dev is used.

  4. Optionally, delete the directory ~/ptII-dev.