个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第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...
+
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 add the following line to your software sources list:<pre><nowiki>
 +
deb http://ppa.launchpad.net/yogarine/eclipse/ubuntu jaunty main</nowiki></pre>
 +
And then run the following on the terminal to add Yogarine's gpg key:<pre><nowiki>
 +
wget http://www2.yogarine.com/eclipse-ppa.key -O- | sudo apt-key add - && sudo apt-get update</nowiki></pre>
 +
Now all you have to do is install the 'eclipse-pdt' package:<pre><nowiki>
 +
sudo apt-get install eclipse-pdt</nowiki></pre>
 +
=== From eclipse.org ===
 +
* 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

2009年11月17日 (二) 18:58的版本

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

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 add the following line to your software sources list:
deb http://ppa.launchpad.net/yogarine/eclipse/ubuntu jaunty main
And then run the following on the terminal to add Yogarine's gpg key:
wget http://www2.yogarine.com/eclipse-ppa.key -O- | sudo apt-key add - && sudo apt-get update
Now all you have to do is install the 'eclipse-pdt' package:
sudo apt-get install eclipse-pdt

From eclipse.org

  • 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.