---
title: "在Zend Studio 10.6中安装SmartPDT 0.9.1出错后的解决方式"
author: "xwv"
date: "2014-05-05T21:58:35Z"
tags: []
categories: ["开源软件"]
slug: "zend-studio-10-6-smartpdt-0-9-1"
draft: false
lastmod: "2014-05-05T22:14:41Z"
id: 2053048
url: "https://xwv.iteye.com/blog/2053048"
---

在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](http://www.bar54.de/wp-content/uploads/2013/02/install-archive-updatesite-300x175.png)*](http://www.bar54.de/wp-content/uploads/2013/02/install-archive-updatesite.png "PHPEclipse and Smarty")

*To simplify the installation, I have prepared a valid update site archive to download: [smartypdt-0\_9\_1](http://www.bar54.de/wp-content/uploads/2013/02/smartypdt-0_9_1.zip)*  
*Just download and open Eclipse. Go to help -&gt; install new software -&gt; 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/