tags:

views:

356

answers:

3

When trying to create a build using propel-gen (propel v 1.4) I get:

[phing] Error reading project file [wrapped: Unable to open /path/to/project/build-propel.xml for reading: ]

I can't find a reference to this file in the propel documentation.

A: 

What version of Phing are your using? (Run phing -v to find out). Phing 2.4.x, the latest version, seems to break backwards compatibility, but it works with Phing 2.3.x, so try to downgrade to that version for now.

Jan Fabry
A: 

I realised that it was looking for files which are located in the propel/generator directory, but was using the current working directory as the base directory (I have propel-gen symlinked to /usr/bin so I can run it from anywhere).

The (kind of crappy) solution is just to cd into the propel/generator directory and run the build from there, so it uses that directory as the base path.

A: 

Definitely a problem with the latest phing.

You should try :

$ pear uninstall -n phing/phing
$ pear install phing/phing-2.3.3
bpizzi