Page 2 of 3
As already mentioned, running Eclipse is just a matter of launching Eclipse.exe. Your first task is to select a workspace. This is where all of the details of your projects are stored. Notice this isn't the same as where your projects are actually stored and in our case all of the project's source files will be stored on another machine. If you are upgrading create a new workspace.
The first screen you see is the Welcome screen and while this is worth exploring you need to move on to get your project setup. Select the Workbench option, the far right icon, because this is where all of the work is done. There are lots of descriptions of how to create a new project from scratch but few about to import an existing web site and at first it isn't obvious how to do it.
The Welcome page
All you need to do is use the same File,New PHP Project command that you would use to create a project from scratch but you select the Create project from existing source option and then browse to the folder containing the root of the web site. The folder can be local or it can be on a network share.
The name that you give the project is important because it will be used by default to access the website. If you name the project MyProject1 then Eclipse will assume that your website is http://MySite/MyProject1. Don’t worry too much however as there is a way round this - give the site a meaningful name.
When this is completed, and again it can take minutes, you are presented with a list of errors and warnings in the Problems window - this much is worth the effort of installing Eclipse! Joomla 1.5 showed 68 errors and 1436 warnings - which sounds alarming but most of them were unmatched <a> tags and other simple things that probably wouldn't make the system crash in the real world. Even so the temptation to fix them to produce clean code is very, very difficult to resist!
The Existing project loaded