PHP   发布时间:2022-04-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了PHP-Propel-gen的“ convert-conf”目标失败大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

我正在尝试从OSX 10.5上使用最新版本PHP&的schema.xml文件生成模型.推进1.3& ing.实际上,所有模型类都已创建,然后就消失了,就在最后一步.我已经尝试过

但这没有帮助.我也都尝试过

两者均产生相同的错误.这个错误

propel > convert-conf:
[echo] Output file: models-conf.PHP
[echo] XMLFile: /application/config/runtime-conf.xml
Execution of target "convert-conf" Failed for the following reason: pear/data/propel_generator/build-propel.xml:514:20: No valid xmlConfFile specified.
[phingcall] /pear/data/propel_generator/build-propel.xml:514:20: No valid xmlConfFile specified.

Execution of target "main" Failed for the following reason: 
pear/data/propel_generator/build-propel.xml:94:18: Execution of the target buildfile Failed. Aborting.
[phing] pear/data/propel_generator/build-propel.xml:94:18: Execution of the target buildfile Failed. Aborting.

BUILD FINISHED

这是我的build.properties文件

propel.project = models
propel.database = MysqL
propel.database.encoding = utf8
propel.database.url = MysqL:host=localhost;dbname={$myDBName}
propel.database.user = {$myDBuser}
propel.database.password = {$myDBpass}
propel.output.dir  = /application
propel.PHP.dir     = ${propel.output.dir}/
propel.sql.dir     = ${propel.output.dir}/models/sql
propel.schema.dir  = ${propel.output.dir}/config
propel.conf.dir    = ${propel.output.dir}/config
propel.PHPconf.dir = ${propel.output.dir}/config
propel.addGenericAccessors = true

有任何想法吗?

解决方法:

我发现我必须解决同样的问题才能解决

propel.runtime.conf.file=runtime-config.xml

在build.properties文件中.

之后,它运行完美.

大佬总结

以上是大佬教程为你收集整理的PHP-Propel-gen的“ convert-conf”目标失败全部内容,希望文章能够帮你解决PHP-Propel-gen的“ convert-conf”目标失败所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: