eclipse pdt installation for ullright
Installation
Note: this guide assumes using Ubuntu (9.10) and PDT 2.1 SR2
- Install Java:
- sudo aptitude install sun-java6-bin
- Make sure we're using the correct java:
- sudo update-alternatives --config java
- 64-bit users: At the moment we recommend installing a 32-bit Java VM since there's no Eclipse PDT all-in-one package for 64-bit systems.(Spring 2009)
- sudo aptitude install ia32-sun-java6-bin
- sudo update-alternatives --config java
- Note that this permanently changes your active Java VM.
- As an alternative, manually installing everything for your architecture should work too.
- Download from http://download.eclipse.org/tools/pdt/downloads/
- Extract the file to ~/bin/eclipse
Workaround for Button-Bugcreate file start_eclipse.sh in ~/bin/eclipseinsert content in start_elipse.sh:-
export GDK_NATIVE_WINDOWS=1
./eclipse make start_eclipse.sh executeablerun Eclipse via start_eclipse.sh
- Launch eclipse
- Default workspace: /var/www
- Install svn plugin.
There are two choices. Subversive lacks a tree based commit dialog which comes very handy.- Install subclipse: (recommended)
- Help -> Install new software -> Add
- Name: Subclipse
- URL: http://subclipse.tigris.org/update_1.6.x
- Check all checkboxes
- "Next" -> "Next" -> Agree to terms -> "Finish" Restart: "Yes"
- Install subversive
- Help -> Install new software -> Add
- Name: Subversive
- URL: http://download.eclipse.org/technology/subversive/0.7/update-site/
- Check all checkboxes
- "Next" -> "Next" -> Agree to terms -> "Finish" Restart: "Yes"
- After Eclipse restart: Select SVN Kit 1.3.0
- Install subclipse: (recommended)
Install symfoclipse:Same as above but:Name: SymfoclipseURL: http://noy.cc/symfoclipse
- Install yamlEditor:
- Help -> Install new software -> Add
- Name: yamlEditor
URL: http://www.symfony.pl/yamleditor/- URL: http://dadacoalition.org/yedit/
Configuration
Window -> Preferences
Font size:
- General -> Appearance -> Colors and Fonts
- Basic -> Text Font -> Edit -> Monospace 11pt
ullright code style settings:
- PHP -> Code Style -> Formatter
- Tab policy : Spaces
- Indendation size: 2
- General -> Editors -> Text Editors
- Display tab width: 2
- Insert spaces for tabs: checked
print margin
- General -> Editors -> Text Editors
- Show print margin: checked
- Print margin column: 80
Run -> External tools -> External tools configuration
- "New" Icon
- Name: symfony cache-clear
- Location: ${project_loc}/symfony
- Working Directory: ${project_loc}
- Arguments: cache:clear
- "New" Icon
- Name: publish
- Location: ${project_loc}/symfony
- Working Directory: ${project_loc}
- Arguments: ullright:publish
- "New" Icon
- Name: get and load production database
- Location: ${project_loc}/symfony
- Working Directory: ${project_loc}
- Arguments: ullright:get-and-load-production-database



