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

阅读更多

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

在Zend Studio 10.6中安装SmartPDT 0.9.1出错后的解决方式_第1张图片

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/

  • smartypdt-0_9_1.zip (399.4 KB)
  • 下载次数: 16

你可能感兴趣的:(Zend,Studio,Smarty,tool)