个人工具

“UbuntuHelp:EclipsePDT”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的1个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:EclipsePDT}}
 
{{Languages|UbuntuHelp:EclipsePDT}}
 
== Introduction ==
 
== 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. It is easiest to be at Eclipse 3.3 (Europa) to start using PDT, as the stable release of PDT is a relatively new project (September 18th, 2007).
+
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 : [http://www.eclipse.org/pdt/ PDT Project Page] at Eclipse.org
 
See : [http://www.eclipse.org/pdt/ PDT Project Page] at Eclipse.org
 
See : [[UbuntuHelp:EclipseIDE|EclipseIDE]]
 
See : [[UbuntuHelp:EclipseIDE|EclipseIDE]]
== Installing PDT (PHP Development Tools) ==
+
== Installation ==
To install PDT
+
=== From Yogarine's Eclipse PPA ===
<ol><li>We can add PDT through the Ecplise update functionality. Go to Help -> Software Updates -> Find and Install...
+
''NOTE: [http://blog.yogarine.com/2009/10/eclipse-plugin-packages-for-ubuntu.html 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: <pre><nowiki>
 +
add-apt-repository ppa:yogarine/eclipse/ubuntu
 +
apt-get update
 +
apt-get install eclipse-pdt</nowiki></pre>
 +
=== From Update Site ===
 +
''NOTE: does not work with Karmic ([https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/463351/comments/10 dependency] [http://stackoverflow.com/questions/1908520/error-installing-eclipse-pdt-in-ubuntu-9-10 problems]). The [http://wiki.eclipse.org/PDT/Installation "From Update Site" instructions on eclipse.org] don't work either.''
 +
* Download eclipse from eclipse.org
 +
<ol><li>add PDT through the Ecplise update functionality. Go to Help -> Software Updates -> Find and Install...
 
</li><li>Hit the New Remote Site button on the right hand side.
 
</li><li>Hit the New Remote Site button on the right hand side.
 
<ol><li>''Name'': PDT – PHP Development Tools
 
<ol><li>''Name'': PDT – PHP Development Tools

2010年5月19日 (三) 22:08的最新版本

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.