enable using jgroovy and xml files

@liorhar