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 | Console. 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 --versoin returns 1.6 or earlier, then see below, you may
want to upgrade.
svn --version returns 1.7, then install SVN Kit 1.7.13 or equivalent.
svn --version returns 1.8, then install SVN Kit 1.8.5 or equivalent.
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.
Using MacPorts is suggested. As of July, 2013, Collabnet did not have Mac svn binaries.
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://repo.eecs.berkeley.edu/svn-anon/projects/eal/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:
https://repo.eecs.berkeley.edu/svn/projects/eal/ptII/Read/writes users may want to check "Save authentication".
Click "Finish"
Read/write users will be prompted for their repo.eecs.berkeley.edu username and password.
If you are prompted to save the password in your keychain, then select "Yes" to avoid typing in your password over and over again.
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.
Check out as a project configure using the New Project Wizard is disabled, then the
problem is someone checked a .project file into the repository.)


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.
Window | Show View | Other | SVN | SVN Repositories
New | Repository Location and
set the url.
https://repo.eecs.berkeley.edu/svn/projects/terraswarm/accessors/
As you have read/write access, you may want to check "Save authentication".
Click "Finish"
You may be prompted for your password
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 folder into existing project, then hit Next.


The goal here is to create org/terraswarm/accessor/accessors/web.