protected void execSmartfrog(String failureText) { execSmartfrog(failureText,"Problems running smartfrog JVM");
protected void execSmartfrog(String failureText, String errorText) {  setupClasspath(smartfrog);    if(failOnError) { smartfrog.setFailonerror(failOnError); } int err= smartfrog.executeJava(); if(!failOnError) { return; } switch(err) { case 0: return;    case -1: case 255: throw new BuildException(failureText); default: throw new BuildException(errorText+" - error code "+err); }
    protected void execSmartfrog(String failureText) {        execSmartfrog(failureText,"Problems running smartfrog JVM");    }