svn command).
For other ways to set up Eclipse and Ptolemy II, see the Setting up Eclipse to manage your Ptolemy II development Environment page.
There are at least two Subversion plugins for Eclipse, Subversive and Subclipse. Either will work, for a brief comparison, see Subclipse vs. Subversion. The instructions below are for Subversive. To use Subclipse, see Installing Subversion (SVN) into Eclipse.
The Subversive Eclipse plug-in adds Subversion to
Eclipse. After installation, you can use either Eclipse to manage
your project, or the svn from the command line.
Follow the Subversive installation instructions or these instructions below:
Help | Install New Software
Next, Next again and click
through the license agreement and hit Finish.
Eclipse | Preferences
Team | SVN | SVN Repositories. When you click
on SVN Repositories, the "Subversion Connector Discovery" window
will pop up. (See http://www.polarion.com/products/svn/subversive/connector_discovery.php
for details.)
svn --version
svn --version returns 1.5, then install SVN Kit 1.2.3
svn --version returns 1.6, then install SVN Kit 1.3.7
Note: if you install a more recent version of the plugin than the
version of the command line svn tool, then
you will not be able to use the command line svn to
update or modify the tree that is checked out by Eclipse.
If you
run svn on a tree checked out by Eclipse and get a message
svn: This client is too old to work with working copy '.'; please get a newer Subversion
client, then the solution is to
update svn.
Note: If you do not have the svn command installed, then
you should be able to download ptII using the SVN Kit supplied by Eclipse.
If svn is not found, and you would like to install svn
then install XCode.
Note that XCode is roughly a 1 gigabyte download.
Apple is charging $5 for XCode 4, but XCode 3 will also work.
Then do "Finish", "Next", "Next", Accept the license and then "Finish".
ptII
Subversion repository.
Window | Show View | Other | SVN | SVN Repositories
New | Repository Location and
set the url.
https://source.eecs.berkeley.edu/svn/chess/ptIIor
svn://source.eecs.berkeley.edu/chess/ptII
Note: Most users will select https:// or
svn:// because
they will be accessing the tree with read-only Subversion access.
If you have an
ssh account on source.eecs.berkeley.edu, then check out ptII with
read/write access:
svn+ssh://source.eecs.berkeley.edu/chess/ptIIOr, if your user id on source.eecs is different than your current user id on your machine:
svn+ssh://yourID@source.eecs.berkeley.edu/chess/ptIIRead/writes users may want to check "Save authentication".
Click "Finish"
Read/write users will be prompted for their source.eecs.berkeley.edu username and password. This typically happens more than once since in case the svn+ssh protocol is being used passwords are not cached
Trust or Trust Always. For details and
a workaround, see Certificate is not issued by a trusted authority.
trunk and select Find/Check out As
Follow the wizard, creating selections as follows:
Be sure to check out the trunknot the entire tree, which include all the branches and the trunk.
Check out as a project configured using the New Project Wizard, then hit Finish.


ptII
is a common choice.
.eclipse.epf file in the
default location. This is usually not a problem, but to be safe,
exit Eclipse, remove the file and restart Eclipse.
bin/ directory. However, the Ptolemy II source repository
has scripts in $PTII/bin/. If Eclipse places .class files in
bin/ then $PTII/bin/makefile will not exist
and $PTII/bin/vergil will not be created when make
is run.

.classpath.default file.