Ant script from sdk tools (to be modified)