This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost

26Jan/109

Fix propel-gen error: Error reading project file build-propel.xml

I had just installed propel-gen and phing with the pear method onto a new system. But after running the propel-gen I only get this error:

$ propel-gen $PWD
Buildfile: /usr/lib/php/data/propel_generator/pear-build.xml
[resolvepath] Resolved /devel/build/propel

propel-project-builder > projdircheckExists:

propel-project-builder > projdircheck:

propel-project-builder > configure:

 [echo] Loading project-specific props from /devel/build/propel/build.properties
 [property] Loading /devel/build/propel/build.properties

propel-project-builder > main:

 [phing] Calling Buildfile '/devel/build/propel/build-propel.xml' with target 'main'
 [phing] Error reading project file [wrapped: Unable to open /devel/build/propel/build-propel.xml for reading: ]

BUILD FINISHED

Total time: 0.1085 seconds

My Installed software versions:

propel-gen -> 1.4.1
phing      -> 2.4

And exactly this was the problem. It seems that the phing version 2.4 breaks some stuff. Because of this I have installed the old version, and now it works perfect.

$ pear uninstall -n phing/phing
$ pear install phing/phing-2.3.3
Tagged as: , 9 Comments
14Jan/100

Using independent clocks in xen domU (ntp)

Normally the xen domU´s are using the same clock as the dom0. But I had the problem, that there was a timeshift of 20 minutes on one of my hosts. I did not find out the reason for this, so I decided to simply setup ntp also on this.

To make this work you have to tell the kernel of the virtual machine to use its on clock. With this command you set the parameter online.

echo 1 > /proc/sys/xen/independent_wallclock

To make this also boot safe, you will have to add a sysctl code to your /etc/sysctl.conf

# Set independent wall clock time
xen.independent_wallclock=1

After that you can already use your own clock. For example you can now setup openntp on it, which will not work otherwise.

Tagged as: , No Comments