在Zend Studio 10.6中安装SmartPDT 0.9.1出错后的解决方式

26 篇文章 0 订阅
20 篇文章 0 订阅

      在Zend Studio 10.6上安装SmartyPDT 0.9.1时,遇到错误报告,包含类似下面的内容:

   Missing requirement: Smarty Feature 0.91.0

   (org.eclipse.php.smarty_feature.feature.group 0.91.0)

   requires 'org.eclipse.php 0.0.0' but it could not be found

  

   在这个web: http://www.bar54.de/2013/02/phpeclipse-and-smarty/ 找到一个解决方式.下面对其中的

内容进行转贴.

 

There is a plugin named SmartyPDT which provides all required features for smarty programming. The project did no progress since a couple of month, however, it is publicly available on Google Code: http://code.google.com/p/smartypdt
Unfortunatly, the latest release download is not installable in Eclipse Kepler because of a missing dependency. If you try to, you will end up with an install error message such as:

1. Cannot complete the install because one or more required items could not be found.

2. Software being installed: Smarty Feature 0.91.0

3. (org.eclipse.php.smarty_feature.feature.group 0.91.0)

4. Missing requirement: Smarty Feature 0.91.0

(org.eclipse.php.smarty_feature.feature.group 0.91.0)

requires 'org.eclipse.php 0.0.0' but it could not be found

 

If you are interested in installing it anyway, you need to modify the content.xml, included in the content.jar included in the downlaod zip archive.
You must remove the dependencies for the org.eclipse.php plugins on the lines 36 and 134.

Install SmartyPDT from archived update site

To simplify the installation, I have prepared a valid update site archive to download: smartypdt-0_9_1
Just download and open Eclipse. Go to help -> install new software -> click “add” button and the “archive” button in the new dialog to select the downloaded archive file.
Confirm the dialogs and you will be able to install the SmartyPDT feature to your Eclipse instance.

Note: This is just a download provided as is and as a convenience method to enable SmartyPDT installation in Eclipse Kepler. The complete development was done by https://code.google.com/p/smartypdt who are the owner of and responsible for the plugin.

 

      另外,SmartyPDT的官网: http://code.google.com/p/smartypdt/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值