If you are downloading the source from a major Ptolemy release, and don't want to update regularly, or you do not have network access, then use this choice.
For other ways to set up Eclipse and Ptolemy II, see the Setting up Eclipse to manage your Ptolemy II development Environment page.
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest
(Stable release)
https://icyphy.github.io/ptII/downloads/index.html
(Development Releases)ptII
is a common choice.
ptII/eclipse
In Ptolemy II, the $PTII/bin
directory contains
Ptolemy-specific scripts. Unfortunately, Eclipse wants to write
.class files to that directory. In versions of Eclipse before
Oxygen, it was possible to import a project have the output
directory be the same as the project. Unfortunately, this is no
longer possible, so we have Eclipse output files
into $PTII/eclipse
Ideally, we would have a $PTII/.project
file that
would define the Ptolemy II Eclipse project, which could then be
imported. Unfortunately, the format of the .project
file does not support having the output files the same as the
project.
Here's the Java Settings window:
Be sure to change the Default output folder from ptII/bin to a directory that does not exist, such as ptII/eclipse. If the output folder is ptII/bin
, then Eclipse will remove the contents of$PTII/bin
including$PTII/bin/vergil
, which is how Ptolemy II is started from the command line.