svn
command).
You can use both Eclipse and the TortoiseSVN version of
Subversion or the Cygwin bash shell version of Subversion to
update the tree.
This choice is the preferred choice for collaborating with
the Ptolemy group because it means that your Ptolemy II tree can get
recent changes.
The downside is that that the development tree is under
development, so there may be bugs or instability.
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
.
Window
| 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
. To start a DOS Shell:
cmd
cmd
svn --version
svn --version
returns 1.6, then install SVN Kit 1.3.8 or equivalent.
svn --version
returns 1.7, then install SVN Kit 1.7.9 or equivalent.
svn
command installed, then select the most
recent SVN Kit and you should be able to download ptII using the SVN Kit supplied by Eclipse.
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.
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.
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 trunk
not 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.