Description
Subclipse | SvnAnt | SvnClientAdapter
Subclipse is an Eclipse
plugin that adds Subversion integration to the
Eclipse IDE
Current Release
Eclipse 2.1
Subclipse 0.9.3.1 is linked against Subversion 1.0.5 (Windows only for now)
Download
Eclipse 3.0
Subclipse releases for the 3.0 Eclipse branch are hosted at
our update site. Add http://subclipse.tigris.org/update
as an update site in Eclipse's update manager (which you can find
in the Help menu). The 3.0 Subclipse is being tested with
Subversion 1.1 rc2, and works on Windows, Linux and OSX. Use other
versions of SVN at your own risk.
The update site itself can be downloaded
and used as a local update site as well. Simply unzip the site archive,
and add the path to the site as a new "Local Site" in the Eclipse
update manager. You can also host your own internal subclipse update
site by placing the site on your own HTTP server (be sure to update
site.xml appropriately).
Note: As of Subclipse 0.9.14,
we no longer ship native libraries (libsvnjavahl) for the Linux and OSX versions. The Win32
version still includes the native libraries. OSX users can use the excellent
Metissian packages to obtain
the required libraries (including the entire subversion installation). Linux users will either
have to build their own, or pester their packager to include the SVN javahl subsystem with their
builds. More on this at the FAQ
0.9.14 may not work so well with SVN prior to 1.1rc2, YMMV. If it does work, let us know so we can take
down this silly warning.
Using Subclipse with JavaSVN
You may make Subclipse use a pure Java svn client library instead of the JavaHL bindings. After
installing Subclipse, install "JavaSVN Subclipse Extension" feature using http://tmate.org/svn/
update site location. You may find more details on JavaSVN at http://tmate.org/svn/
web site.
Note: JavaSVN supports svn, svn+ssh and http
connection protocols. file protocol is not supported and https protocol may not work with some servers depending
on the JDK version you're using and server SSL certificate. JavaSVN will work with Eclipse 3.0 or newer only.
Features
The latest releases support the following and more:
Note: the 3.0 Subclipse is a work in progress, and
as such is missing a few features (such as synchronization).
Please check the issue tracker and mailing lists before reporting
problems.
Installation
Eclipse 2.1
- Download the Subclipse archive from the Documents
section
- Unzip the file into the Eclipse home directory.
- Restart Eclipse
- Open a new SVNExplorer Perspective and use it in the same
way as the CVS Plugin
Eclipse 3.0
- Start Eclipse, go to the Help menu->Software
Updates->Find and install. Then add the update site
(http://subclipse.tigris.org/update).
- Obey the dialog prompts, and restart Eclipse. That's all
there is to it!
Source
We are using a subversion-repository.
You can browse the latest
source
You can also check out the latest Subclipse sources using
svn:
Eclipse 2.1
svn co http://svn.collab.net/repos/subclipse/trunk/subclipse
Eclipse 3.0
svn co http://svn.collab.net/repos/subclipse/branches/subclipse-3
This will check out Subclipse, svnClientAdapter and svnant
What version of Eclipse does Subclipse support
?
The current version of Subclipse supports both Eclipse 2.1.x
and Eclipse 3.0 Line
Why is Subclipse so particular about what version of
Subclipse and Berkeley DB is used?
Subclipse uses a JNI interface (
javahl) to Subversion. The binaries that come with Subclipse
are linked with particular versions when compiled. We have also
been developing a way to interface with the command line client
(Windows->Preferences->Team->SVN)
Keep in mind, you'll have best results with a libsvnjavahl
built with your own system.
So if Subclipse is tied to a Subversion version, will
it be updated when a new version of Subversion comes
out?
Yes, we will try to update Subclipse when a new version of
Subversion comes out
Why does Subclipse only support Windows?
Subclipse supports Windows, Linux, and OSX currently. If your
favorite platform is missing, build us a libsvnjavahl library for
it, and we'll add it.
Will the plugin work with WSAD?
Only WSAD 5.1 and above as this is based on Eclipse 2.1 which is a minimum requirement for Subclipse
Do I need Subversion installed to use
Subclipse?
Not if you use Windows. If you don't use Windows, you
do need Subversion and its dependencies installed.
Currently, the jni bits (libsvnjavahl) link dynamically to the
Subversion sources, so you may have problems if your installation
of Subversion is out of date, or compiled agains something other
than what we compiled against. As mentioned above, if you are
having problems with Subclipse, we recommend rolling your own
libsvnjavl. This is particularly true on OSX, if your Subversion
isn't built with fink.
To do this, just
make javahl && make install-javahl
when you are making your Subversion build, and replace the
libsvnjavahl we ship.
What access methods does Subclipse
support?
Since Subclipse just calls out to Subversion, Subclipse can
use any access method your command-line Subversion client can
understand.
How do I get Subversion to accept my self-signed
certificate?
There is currently no interface for this in Subclipse, but you
can just
svn list https://your/repo
and opt to accept the certificate permanently. From then on,
subclipse will also accept the certificate.
Why did you stop shipping the native javahl with Subclipse?
We could never figure out how to link them statically, and sending out
dynamically linked libraries made my personal build system's configuration
a build dependency (that is, if you didn't have a nearly identical setup to
me personally, you'd wind up with mysterious failures when trying to use
Subclipse).
Hopefully this won't be too much of a burden. Form OSX users, the
Metissian packages are
excellently done, and hopefully Linux SVN package maintainers will start
shipping javahl (after y'all bug them to death about it ;) )
If your package maintainer doesn't ship javahl, PLEASE send them a polite email
asking them to consider including it.
If worse comes to worse (and this isn't too bad), you can build javahl yourself. Consult
the SVN install documentation for more info. The short course goes like this:
./configure --your-other-flags=here --enable-javahl --with-jdk=$JAVA_HOME --with-jikes=$JAVA_HOME/bin/javac &&make && install install-javahl
Links