Build file working for Xml detector