Eclipse is unaware of the version control aspects of the Ptolemy II project, use the shell version of Subversion to update the tree.
(No Eclipse Subversion plug-in (Subversive),
use Subversion (svn) from the command line).
Use this method if getting the Eclipse plug-in named "Subversive" is not working for you.
To try to install the Eclipse plug-in named "Subersive", see Eclipse is aware of the Subversion aspects of the project.
For other ways to set up Eclipse and Ptolemy II, see
the Setting up Eclipse to manage
your Ptolemy II development Environment page.
- Windows does not have Subversion installed.
- In a directory other than the Eclipse workspace directory (if it exists),
check out the ptII svn repository with read-only access:
svn co https://repo.eecs.berkeley.edu/svn-anon/projects/eal/ptII/trunk ptII
Note: Most users will select the /svn-anon/ URL above because
they will be accessing the tree with read-only Subversion access.
If you have an UC Berkeley EECS LDAP account or have an external account on repo.eecs.berkeley.edu, then check out ptII with read/write access:
svn co https://repo.eecs.berkeley.edu/svn/projects/eal/ptII/trunk ptII
- Accessors:
If you are not working on Accessors then skip this step
If you are working on accessors and you do not have read/write access to the
ptII svn repo, then skip this step
If you are working on accessors and have read/write access to ptII svn repo using an external account (an account that is an email address) on repo.eecs.berkeley.edu, then you will need to check out the Terraswarm accessors repo by hand separately:
cd $PTII/org/terraswarm/accessor
If you have don't have read/write access to the TerraSwarm accessors repo, use
svn co https://repo.eecs.berkeley.edu/svn-anon/projects/terraswarm/accessors/trunk/accessors
If you do have read/write access:
svn co https://repo.eecs.berkeley.edu/svn/projects/terraswarm/accessors/trunk/accessors
The goal of the above steps is to create $PTII/org/terraswarm/accessor/accessors/web.
- Set up the Eclipse ptII project .classpath for Ptolemy II
- Create the ptII project
- In
File | New | Project,
select 'Java project'.
- In the "Create a Java Project" window, uncheck the "Use default location" and browse to the location
of the ptII tree checked out above.
Below is the "Create a Java Project" window:

Then hit "Next". There may be a delay while the wizart reads the directory.
- In the "Java Settings" window, check the "Allow output folders for source folders" checkbox.
Below is the "Java Settings" window:

Then hit "Finish".
- When asked if you want to shift to the Java perspective, click on Yes.
- If you there is a message about ClassDoc missing, then see ClassDoc Missing on the Kepler site. That page also has instructions for adding
tools.jar.
- If you have read/write access go
to Setup the Subversion
Configuration to Sane Settings so that if you commit files, they
will have the appropriate settings.
- The next step is to Set up the Eclipse ptII project .classpath for Ptolemy II.