2012-05-31 56 views
0

以下的推進網站上的教程和沒有錯誤執行以下2命令後:執行目標「convert-conf」失敗,原因如下 - 沒有指定有效的xmlConfFile。

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

我嘗試:

./propel-gen convert-conf 

發生以下錯誤。

[email protected]{~/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

回答

2

只需重命名文件runtime.conf.xmlruntime-conf.xml這是預期的文件名;)

相關問題