Q: I want to use Eclipse to develop using the ForgeA: Why do we want to use eclipse? Easy to use. Cross platform. Open Source, what more do we want. How do we do it? Well, follow these instructions ;-)This document applies to Eclipse on a Mac, but should work for Windows and Linux too.After downloading en installing Eclipse we have to install two extra plugins.
The first is the php plugin witch will be used to edit PHP in Eclipse.
Installing PHP Eclipse1. We go to: Help, Softwareupdate, find and install.
2. Select: 'Search for new features to install'
3. Choose: New remote site
4. User these parameters:
Name: php elcipse
Url:
http://phpeclipse.sourceforge.net/update/cvs 5. We check the checkbox and click Next.
6. A list of possibilities is presented. Select he latest PHP eclipse release and press finish.
***Note
PHP Elcipse will be installed. A reboot will be required.
Now we have to install a plugin called Subclipse. It will enable us to use the SVN used by the Joomla! Forge.
Installing Subclipse1. Repeat the plugin install steps this time using the following parameters
Name: Subclipse
Url:
http://subclipse.tigris.org/updateSo all goes well. We have installed everything we need to start our project. Now lets make a SVN project in the developers zone.
Creating a SVN RepositoryFollow these steps
1. Create an Repository under Source Code > Create Repository
2. Enter Directory Name but NOTE: The directory will be created in the svn/repos folder, where all repository folders of each projects are. It could happen that your desired projectfolder is not available, bette use an prefix for your repositoryfolders. Once a folder and a Repository is created, you cannot change the foldername and you cannot delete the repository
3. Enter Repository Name
4. Choose Server, you can choose between CVS and SVN. Use SVN.
5. Don't check Association Required on Commit. (thx to musicones for this part)
If all goes well we now created a SVN repository.
Now lets use Eclipse to connect to the repository
Connect to the repository using eclipse1. Start eclipse
2. Go to Window, Show View, SNV repositories (this could also be named CVS repositories)
3. On the right top of the screen you will see the text cvs repositories (or SNV repositories) followed by the >> sign (more). Select SNV repositories here.
4. On the left a SNV repository view will beopend. If not go to Window, Open perspective, Other and choose SVN repository exploring.
5. In the SVN repository exploring you will see a DB like icon with a + and the text SNV on the right top.. Click it.
6. Use these settings:
url:
http://scm.joomla.org/svn/repos/your_re ... ctory_nameroot url:
http://scm.joomla.org/User: developers username
Pass: Your password.
Congratulations your connected. You can start working now :-)
If anybody has any addons or comments. Please let us now. Special thanks to Jick for helping me get connected.