eclipse 安装PDT

4 篇文章 0 订阅

PDT是有zend公司提供的eclipse插件。

项目见:http://www.zend.com/en/company/community/pdt/

当然zend有自己的zend studio,而且是收费,所以PDT的功能没有其全面,功能比较见:http://www.zend.com/products/studio/comparison。

这里提供了两种使用方法,

一种是直接下载已经build好的包,http://www.zend.com/en/company/community/pdt/downloads

一种是通过eclipse安装pdt插件。

he PHP plug-ins are included in the all-in-one package. 
Instructions:

  • Open Eclipse and go to Help-> Software Updates-> Find and Install
  • Select "Search for new features to install" and click "Next"
  • Create a New Remote Site with the following details:
  • Check the PDT box and click "Next" to start the installation
有人提到会报错,并提供了解决方案。

但是发现运行后提示错误:

An error occurred while collecting items to be installed 
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 
No repository found containing: osgi.bundle,org.zend.php.debug.debugger,5.3.18.v20110322 
No repository found containing: osgi.bundle,org.zend.php.debug.debugger.linux.x86,5.3.18.v20110322
No repository found containing: org.eclipse.update.feature,org.zend.php.debug_feature,5.3.18.v20110322

这时可以尝试使用下面的方法:

1. 在电脑上建立目录:localSite

2.  从http://downloads.zend.com/pdt 下载content.jar, artifacts.xml, artifacts.jar三个文件放到localSite文件夹下

3. 编辑artifacts.xml文件,把里面的"${repoUrl}" 替换为"http://downloads.zend.com/pdt"

4. 将artifacts.xml打包到artifacts.jar里;就是修改后直接拖到artifacts.jar里面就可以了.

5. 打开Eclipse,Help > Install New Software > Add > Local 选择localSite然后开始安装。

6. 安装完成,重启Eclipse开启你的PHP之旅



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值