Difference between revisions of "Eclipse Standard Installation"
From Blue-IT.org Wiki
Line 33: | Line 33: | ||
*[http://subclipse.tigris.org/install.html Subclipse] | *[http://subclipse.tigris.org/install.html Subclipse] | ||
for connecting eclipse to a subversion server. | for connecting eclipse to a subversion server. | ||
+ | |||
+ | It is always wise to store every project on the subversion server instead of managing different lokal installations of your projects! | ||
My personally favorite method of gaining access to the svnserver is via ssh. The ssh connection only works with '''newer versions of subersion (greater 1.0.2)'''. | My personally favorite method of gaining access to the svnserver is via ssh. The ssh connection only works with '''newer versions of subersion (greater 1.0.2)'''. |
Revision as of 18:13, 23 July 2006
Contents
Eclipse 3.2
With eclipse 3.2 a lot of new possibilities entered the way gaining a running standard eclipse installation within half an hour. In this article I focus on these major components:
- Eclipse Base SDK
- Callisto
- Subclipse
TODO (* Hibernate )
Therefore I don't fokus on the installation via your favorite distribution but through the native installation procedure into a local directory called simply eclipse or eclipse_VersionNumberwithin your home directory.
Why? If you like use your development environment on different plattforms (e.g. 64bit, 32bit, PPC), it is not possible to simply move your environment to an other computer. You have to install your eclipse installation from scratch on this particular machine - with all the plugins exactly the same concerning dependencies and versions.
If you don't do this, it is likely, that your developers - or yourself - will run into trouble when working with special sourcecode.
Prerequisites - Eclipse SDK
Assuming that you installed java before, download the eclipse service development kit (SDK) for your platform from Eclipse Downloads. Put it into your home directory (or elsewhere) and unzip or untar it.
Now you should be able to start your base eclipse installation.
Use Callisto or Yoxos for Plugins
Until here everything is, like before. But there is a good solution for getting all the various plugins installed without any trouble, working together from the scratch by using a new tool
The latter can be used for allmost every commercial and non-commercial plugin for eclipse. For this service you'll have to pay an annual fee to Innoopract - the firm behind yoxos. This is a very useful and timesaving tool for getting done with the various dependencies between the different eclipse plugins.
There is a free version of yoxos, that contains a lot of free eclipse projects. Check it out.
Callisto however only summarizes - until now - 10 eclipse projects - enough for most of the projects around.
Sublipse plugin
Maintaining your projects via subversion? Then you can use
for connecting eclipse to a subversion server.
It is always wise to store every project on the subversion server instead of managing different lokal installations of your projects!
My personally favorite method of gaining access to the svnserver is via ssh. The ssh connection only works with newer versions of subersion (greater 1.0.2). It uses the base authentification procedure of your system and needs no further configuration.
Open the svn perspective in eclipse and add a new location like this:
svn+ssh://username@servername_or_ip/directory/path/to/svn
Thereby you are addressing the svn directory on that server.
JFace
JFace is now a well integrated part in eclipse 3.2. You can easyly add a preconfigured SWT library to your project. Don't forget to switch the JFace support on.
The only thing you have to do now is to add a new library called OSGI to your project. Search the eclipse/plugins/org.eclipse.osgi_3.2.0.vJJJMMDD.jar file and assign it to this variable. That's it.
All other manual activities necessary with eclipse <= 3.1 are not needed any more.
Poseidon
Make a directory links to your eclipse directory
mkdir eclipse/links
Edit a file called
eclipse/links/com.gentleware.poseidon.ide_integration.eclipse.link.txt
with the following content path=/home/username/YourPoseidonInstallation/lib/poseidon
Restart eclipse. That's it.