为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

 

1. Install a Maven

依次选择Eclipse菜单栏的“Help”菜单à“Instance NewSoftWare”菜单项,就会弹出如下对话窗口:

为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven
为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

选择“Add..”按钮,又会弹出如下对话框:

为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven
为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

这个对话框就是用于添加一个插件地址的。在“Name”对应的输入框里输入该操作的一个标识名。在“Location”对应的输入框里输入这个插件的安装地址。注:Maven的Eclipse插件地址为:http://download.eclipse.org/technology/m2e/releases。输入后,如下图所示:

为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven
为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

输入完成后,点击右下角的“OK”按钮,就会弹出如下对话框:

为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven
为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

这里需要选择想要安装的插件的详细内容。选中“Maven Integration for Eclipse”前面的复选框。如下图所示:

为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven
为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

选择完成后,点击右下方的“Next>”按钮进行安装。安装成功后,会提示需要重启Eclipse来生效这次配置。重启之后,这个Eclipse就可以使用m2eclipse插件功能了。

下面的插件安装,可以参考上面的方式

 

2. Aptana用于 web 和 ftps(Remote)

Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your Available Software Sites list. Attempting to access this URL using your web browser will return an Access Denied error.

http://download.aptana.com/studio3/plugin/install

  1. From the Help menu, select Install New Software… to open the Install New Software dialog.
  2. Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key.
  3. In the populated table below, check the box next to the name of the plug-in, and then click the Next button.
  4. Click the Next button to go to the license page.
  5. Choose the option to accept the terms of the license agreement, and click the Finish button.
  6. You may need to restart Eclipse to continue.

更多参考:http://www.aptana.com/products/studio3/success_plugin.html

 

3. Install a PHP IDE plugin

Open Eclipse and go to Help-> Install New Software to open the Install New Software dialog.

Create a New Remote Site with the following details:

Name: PDT

URL: http://download.eclipse.org/tools/pdt/updates/4.0.1

Get the latest above mentioned URLfrom –

http://www.eclipse.org/pdt/index.html#download

Check the PDT box and click “Next” to start the installation

 

4. Install a Web Platform Tools

it seems to depend on what version of eclipse you’re running.

  1. click “help” -> “about eclipse sdk” to find the version (e.g. 4.2.2).
  2. optionally, from the version number you can know the codename (e.g. Juno) from wikipedia: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
  3. go here: http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
  4. right click on the correct WTP link copy the link address (e.g. WTP 3.4) (they should be listed by version and codename)
  5. now in eclipse, click help -> install new software… and paste the link location in the “work with” field (e.g. “http://download.eclipse.org/webtools/repository/juno/“).
  6. choose “Web Tools Platform (WTP #.#.#)” and click next and install everything.
  7. restart eclipse, close all open files and re-open them for web tools to start working.

 

更多参考:

Java 开发环境配置

Java 快速参考指南

 

本文: 为 Eclipse For JAVA 部署常见的插件(Plugin)- PHP, WEB TOOLS, FTPS, Maven

Leave a Reply