0

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.

Robin Barnes
  • 13,133
  • 15
  • 44
  • 45

3 Answers3

3

Definitely a problem with the latest phing.

You should try :

$ pear uninstall -n phing/phing
$ pear install phing/phing-2.3.3
bpizzi
  • 31
  • 1
1

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.

Robin Barnes
  • 13,133
  • 15
  • 44
  • 45
0

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.

Community
  • 1
  • 1
Jan Fabry
  • 7,221
  • 2
  • 36
  • 41