Open Eclipse, select a workspace within your home directory once prompted. Once Eclipse had started, go to Help -> Software Updates. The Software Updates and Add-ons window will appear, navigate to the Available Software tab. From there, click the “Manage Sites” button, followed by “Add” once the Site Manager appeared. The only additional prerequisite to install for PDT is the Dynamic Languages Toolkit, or DLTK. So, add:
http://download.eclipse.org/dsdp/tm/updates/
in the Dialog, and clicked OK.
Click OK to close the Available Sites Manager. The new site should appear in the Available Software sites list. Just select the most resent versions...
Click Install and follow the prompts.
Once installed, Eclipse recommends restarting the application. Accept, restart, and enjoy a shiny new PHP IDE, with RSE TM.
Setting Up the Environment
Once Eclipse Ganymede has reloaded, click on the Workspace icon to open the IDE workspace for the first time. The default Perspective is JEE. To change this, go to Window -> Open Perspective -> Other, then scroll down and select Remote System Explorer Perspective. Other Views, relating to other plugins can be inserted into this perspective, and the perspective saved for future use.
To create a new connection:
Click the "New" icon In the top left corner of the IDE.
Under Remote System Explorer, select "connection" and click next.
Here, you can select the connection type you want to use. (I select SSH Only)
Connection description:
Now, you should see your new SSH connection under "Remote Systems". When you open your new connection (right click, connect..) it will ask for you user name and password for that connection...
However, if you want to login to your system trough key authentication (so you don't have to type your password every time you connect and its considered a best security practice). You can generate an DSA Key by going to; Window -> Preferences -> Network Connections -> SSH2 -> Key Managment -> click "Generate DSA Key" (if you prefer, use a passphrasse) and click "save private key". Now, you just copy that key in your remote systems ~/.ssh/authorized_keys file.
Another nice feature is that you can create a new PHP project using that RSE connectioction going into PHP Perspective mode. Everything would be the same exept that you should unckeck "use default location"and select "RSE" from the "chose file menu" drop down and follow the prompts. Now you can have all the Eclipse IDE options such as validate, debugging, and all the features that you will see just right clicking in the project folder....
blog comments powered by Disqus