问题描述
我正在尝试安装propel_generator 1.2版(更高版本与我正在处理的项目不兼容).我已经尝试过
I'm trying to install propel_generator version 1.2 (later versions are incompatible with the project I'm working on). I've tried
pear install propel/propel_generator-1.2
但是出现以下错误:
Failed to download propel/propel_generator, version "1.2",
latest release is version 1.5.2, stability "stable",
use "channel://pear.propelorm.org/propel_generator-1.5.2" to install
install failed
有人知道我该如何使用Pear安装它吗?
Anybody know how I can install this using Pear?
推荐答案
简短的答案是:不能.
解释是:我看了 http://pear.propelorm.org/Chiara_PEAR_Server_REST/r/propel_generator/allreleases.xml 和最早的propel_generator版本可以通过PEAR从那里安装,版本为1.3.0
The explanation is:I took a look at http://pear.propelorm.org/Chiara_PEAR_Server_REST/r/propel_generator/allreleases.xml and the earliest version of propel_generator that is available for install via PEAR from there is version 1.3.0
您可以从> http://svn.propelorm.org下载v1.2.0代码/tags/1.2.0/并根据需要使用自己的BuildPropelPEARPackageTask.php脚本自己创建一个pear package.xml.
You could download the v1.2.0 code from http://svn.propelorm.org/tags/1.2.0/ and create a pear package.xml yourself, using their BuildPropelPEARPackageTask.php script, if you really need to.
这篇关于安装propel_generator 1.2吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!