Panoramics installation : (Designed by Franck Valentin) ----------------------- 1. JAVA Install the JDK 1.4.2 or higher (http://java.sun.com/j2se/1.4.2/) 2. ECLIPSE Install Eclipse 2.1.2 or higher (http://www.eclipse.org/downloads/index.php). 3. PTOLEMY - Create the base directory for Panoramics and decompress the tarball of Ptolemy 4.0.1 or higher (http://ptolemy.eecs.berkeley.edu/ptolemyII/index.htm): >mkdir panoramics >cd panoramics >tar xfz ptII4.0.1.src.tar.gz >rm ptII4.0.1.src.tar.gz 4. Panoramics - Go to Ptolemy directory >cd ptII4.0.1 - Download and decompress the sources of panoramics (http://franck-valentin.site.voila.fr/sources/panoramics.zip) >unzip panoramics.zip >rm panoramics.zip 5. Create an Eclipse project >eclipse& (if out of memory errors try >eclipse -vmargs -Xmx256M) - Choose the parent panoramics base directory for the workspace (../panoramics) - Create a new java project. - Choose 'panoramics' as the project name. Then clic 'next' - Remove the following source folders (tab panel 'source') : panoramics/ptII4.0.1/config panoramics/ptII4.0.1/ptolemy/copernicus/c/test panoramics/ptII4.0.1/ptolemy/copernicus/c/test/cm - Exclude the following sources folders fom panoramics/ptII4.0.1 config/ doc/coding/templates/ doc/config/templates/ doc/doclets/ ptolemy/actor/gui/ptjacl/ ptolemy/actor/lib/io/comm/ ptolemy/actor/lib/jai/ ptolemy/actor/lib/jmf/ ptolemy/actor/lib/joystick/ ptolemy/actor/lib/x10/ ptolemy/caltrop/ ptolemy/copernicus/c/test/ ptolemy/domains/fsm/demo/abp/ ptolemy/domains/gr/kernel/ ptolemy/domains/gr/lib/ ptolemy/domains/pn/demo/qr/ ptolemy/domains/psdf/ ptolemy/domains/sdf/demo/htvq/ ptolemy/moml/jxta/ ptolemy/plot/servlet/ - Choose 'panoramics/ptII4.0.1' as the default output folder. - Add the following libraries (clic 'AddJar' in the tab panel 'libraries') ptolemy/ptII4.0.1/lib/jython.jar ptolemy/ptII4.0.1/lib/sootclasses.jar - Clic 'Finish'. - Add the actors in the Ptolemy's menu : In the file ./panoramics/ptII4.0.1/ptolemy/configs/defaultFullConfiguration.xml after the line add the line - Run the application menu 'Run/run.../Java Application', clic 'New' Type 'ptolemy.vergil.VergilApplication' in the 'Main class' text field. Clic Run Launch the graph editor, the panoramics actors are in the 'More Libraries/panoramics' menu (the useful ones are 'CmdLineApplication' and 'CheckPoint', the others are prototypes). Examples can be found in './panoramics/ptII4.0.1/panoramics/tests/divers/'