个人工具

UbuntuHelp:EclipsePDT

来自Ubuntu中文

跳转至: 导航, 搜索

Introduction

The PDT project provides a PHP Development Tools framework for the Eclipse platform. It leverages the existing Web Tools Project to provide the PHP development capabilities. See : PDT Project Page at Eclipse.org See : EclipseIDE

Installation

From Yogarine's Eclipse PPA

NOTE: works on Karmic Yogarine's Eclipse PPA contains (mostly) up-to-date packages for Eclipse and various plug-ins. These are not *proper* packages, in that they are not compiled from source code, but created from Eclipse's own release packages. Even though this is obviously not The Right Way(TM) to package software, it has the advantage of allowing to quickly package, test and use new releases with very few headaches. Use these packages if you are a developer that uses Eclipse, and need up-to-date Eclipse packages with as little hassle as possible.

To use it, just run as root:
add-apt-repository ppa:yogarine/eclipse/ubuntu
apt-get update 
apt-get install eclipse-pdt

From Update Site

NOTE: does not work with Karmic (dependency problems). The "From Update Site" instructions on eclipse.org don't work either.

  • Download eclipse from eclipse.org
  1. add PDT through the Ecplise update functionality. Go to Help -> Software Updates -> Find and Install...
  2. Hit the New Remote Site button on the right hand side.
    1. Name: PDT – PHP Development Tools
    2. URL: http://download.eclipse.org/tools/pdt/updates/
  3. Once added continue on to the next section.
  4. In the repository that comes up, expand the “PDT – PHP Development Tools” group.
  5. Just install the PDT Features package.
    1. PDT Features SDK is not required for normal developer use.
  6. Review and agree to the license agreements and step through the installation process.
  7. Restart Eclipse
  8. The PHP view is now added.