由于以下原因,目标“convert-conf”的执行失败 - 未指定有效的xmlConfFile。

时间:2012-05-31 15:43:58

标签: propel

按照推进网站上的教程并执行以下2命令而不出错:

./propel-gen om
./propel-gen sql

我试过了:

./propel-gen convert-conf

发生以下错误。

django@ubuntu{~/www/propel/addons/schema} (propel *+)$ ./propel-gen convert-conf
Buildfile: /home/django/www/propel/addons/schema/Propel/generator/build.xml

propel-project-builder > check-project-or-dir-set:
propel-project-builder > check-project-set:
propel-project-builder > set-project-dir:
propel-project-builder > check-buildprops-exists:
propel-project-builder > check-buildprops-for-propel-gen:
propel-project-builder > check-buildprops:
propel-project-builder > configure:
     [echo] Loading project-specific props from /home/django/www/propel/addons/schema/build.properties
 [property] Loading /home/django/www/propel/addons/schema/build.properties

propel-project-builder > convert-conf:

    [phing] Calling Buildfile '/home/django/www/propel/addons/schema/Propel/generator/build-propel.xml' with target 'convert-conf'
 [property] Loading /media/SuperFast/www/propel/addons/schema/Propel/generator/./default.properties

propel > convert-conf:

     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Converting runtime config file to an     |
     [echo] | array dump for improved performance.     |
     [echo] |                                          |
     [echo] +------------------------------------------+
**Execution of target "convert-conf" failed for the following reason: /home/django/www/propel/addons/schema/Propel/generator/build-propel.xml:569:20: No valid xmlConfFile specified.
    [phing] /home/django/www/propel/addons/schema/Propel/generator/build-propel.xml:569:20: No valid xmlConfFile specified.**

BUILD FINISHED

Total time: 0.2250 seconds

这是我的build.properties:http://pastebin.com/seeE7d65 这里有更多不同尝试的输出:

http://pastebin.com/6Np5QYTW

1 个答案:

答案 0 :(得分:2)

只需将您的文件runtime.conf.xml重命名为runtime-conf.xml,这是预期的文件名;)

豫ICP备18024241号-1