switching buildsystem from nAnt to phing, rewrote build.xml to work with phing, close WPN-XM/WPN-XM#224