Must set property 'main.class' (e.g. in build.properties)