phing fatal error after upgrade to 2.4.13

If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If.   Here is a sample snippet from the build.xml:

<!-- Directory separator based on the current file system -->
<property name="ds" value="\" />
<if>
  <equals arg1="${host.fstype}" arg2="UNIX" />
  <then>
    <property name="ds" value="/" override="yes" />
  </then>
</if>

and here is the error:

Error reading project file [wrapped: build.xml:39:20: Error initializing nested element <equals> [wrapped: equals (unknown) doesn't support the 'arg1' attribute.]]

The bug #943 has already been filed in assigned in phing trac, and after a brief chat with devs in IRC channel, it seems like it will be fixed soon (by 2.4.14 release). The best cause of action for now though is reverting back phing 2.4.12.

Initial police investigation

I love Cyprus Mail dearly, and I do feel for the man in this report:

A CAR belonging to a 35-year-old man in Limassol was torched early yesterday morning, police said. The fire began at 2.30am while the car was parked outside the man’s house. Initial police investigations indicate it is a case of arson. The car was extensively damaged.

But you have to admit it that it’s not the best writing ever.  Once I read it out loud in the office, my co-workers helped out with a few other reports along the same lines.  For example:

A pedestrian was ran over by a car yesterday night in Nicosia.  The driver took off and is being looked for.  The early police report suggests it was a case of hit-and-run.

Or, this one:

A few masked man entered the branch of Hellenic Bank in Aradipou village yesterday.  They were armed with a rifle and a pistol and demanded to give them money.  A few minutes later they took off in what appeared to be a stolen vehicle, carrying over 50,000 EUR with them.  An early police report suggests it was a case of bank robbery.

Crime is not a laughing matter, but the reporting of one can sometimes bring a smile.