if(isDebug()) { log("Command: "+getCommandLine());    }
    protected boolean execSmartFrog(String failureText, String errorText) {        //adopt the classpath        setupClasspath(smartfrog);        //last minute fixup of error properties.        //this is because pre Ant1.7, even setting this to false stops spawn working        //delayed setting only when the flag is true reduces the need to flip the bit        propagateSpawnIncompatibleSettings();        //do any security configurations we need        securityHolder.applySecuritySettings(this);        //run it        int err = smartfrog.executeJava();        if (isSpawn()) {            //when spawning output gets lost, so we print something here            log(MESSAGE_SPAWNED_DAEMON);        }        //else, let's post-analyse the deployment        switch (err) {            case 0:                //success                return true;            case -1:            case 255:                //-1 is an expected error, but                //for some reason smartfrog on HP-UX returns something else.                //so we catch 255 as well.                if (!failOnError) {                    return false;                }                throw new BuildException(failureText);            default:                //any other error code is an odd one                if (!failOnError) {                    return false;                }                throw new BuildException(errorText + " - error code " + err);        }    }