Eclipse is unaware of the version control aspects of the Ptolemy II project. (No Subversion)


(No Eclipse Subversion plug-in (Subversive), No Subversion (svn) from the command line).

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.

  1. Download a ptII source tree from https://ptolemy.berkeley.edu/ptolemyII/ptIIlatest
    The Windows installer include the source, or you may install a separate source-only download.
  2. Set up the Eclipse ptII project .classpath for Ptolemy II
  3. If Eclipse is not running, start up Eclipse
  4. In Eclipse, do File | New | Project.
  5. In the "New Project" window, select "Java" > "Java project", Click Next.

    Eclipse New Project

  6. In the "New Java Project" window:
    In "Project Name", enter any project name, ptII is a common choice.
    Uncheck "Use default location" and browse to the location of the source tree.
    For example, browse to /Applications/Ptolemy/ptII8.1.devel
    Press "Next".
    Below is the New Java Project window:

    Eclipse New Java Project

    Warning: If the "Setting Build Paths" window comes up with a message "The output folder has changed. Do you want to remove all generated resources from the old location ptII/bin", then the problem is that the .classpath file was not found. It is best if you exit Eclipse, create the .classpath file and redo the above steps.
  7. In the "New Java Project" window, select "Allow output folders for source folder", then click "Finish"
    Below is the second New Java Project window:

    Eclipse New Java Project

  8. When asked if you want to shift to the Java perspective, click on Yes.
    If you get lots of errors here, don't worry, we solve them in the next step.
  9. The next step is to Set up the Eclipse ptII project .classpath for Ptolemy II.