if ((key.startsWith(SmartFrogCoreProperty.propBase)) && (!(key.startsWith(SFSecurityProperties.propBaseSecurity)))) {
try { if ( (key.startsWith(SmartFrogCoreProperty.propBase)) && (! (key.startsWith(SFSecurityProperties.propBaseSecurity)))) {
    protected void addProcessDefines(Vector cmd, Object name)        throws Exception {        Properties props = System.getProperties();        for (Enumeration e = props.keys(); e.hasMoreElements();) {            String key = e.nextElement().toString();            if ((key.startsWith(SmartFrogCoreProperty.propBase)) &&                    (!(key.startsWith(SFSecurityProperties.propBaseSecurity)))) {                //Logger.log("Checking: "+name.toString());                //Logger.log("Key: "+key.toString());                if (!key.equals(SmartFrogCoreProperty.propBaseSFProcess                               +SmartFrogCoreKeys.SF_PROCESS_NAME)) {                    //Add special parameters to named subprocesses                    //@todo add Junit test for this feature                    // prefixed by 'org.smartfrog.sfcore.processcompound.D.'+NAME+property=value                    String specialParameters = SmartFrogCoreProperty.propBaseSFProcess+"D."+name+".";                    //Logger.log("Testing: "+specialParameters);                    if (key.startsWith(specialParameters)){                        Object value = props.get(key);                        String keyS = key.toString().substring(specialParameters.length());                        cmd.addElement("-D"+keyS+"="+value.toString());                        //Logger.log("Added to"+name+": "+"-D"+keyS+"="+value.toString());                    } else {                        //Properties to overwrite processcompound.sf attributes                        Object value = props.get(key);                        cmd.addElement("-D"+key.toString()+"="+value.toString());                    }                } else {                    // Add property to name ProcessCompound                    cmd.addElement("-D" +                        (SmartFrogCoreProperty.propBaseSFProcess                        +SmartFrogCoreKeys.SF_PROCESS_NAME+"=") +                        name.toString());                }            }        }        if (SFSecurity.isSecurityOn()) {            // Pass java.security.policy            String secProp = props.getProperty("java.security.policy");            if (secProp != null) {                cmd.addElement("-Djava.security.policy=" + secProp);            }            // org.smartfrog.sfcore.security.propFile            secProp = props.getProperty(SFSecurityProperties.propPropertiesFileName);            if (secProp != null) {                cmd.addElement("-D" +                    SFSecurityProperties.propPropertiesFileName + "=" +                    secProp);            }            //org.smartfrog.sfcore.security.keyStoreName            secProp = props.getProperty(SFSecurityProperties.propKeyStoreName);            if (secProp != null) {                cmd.addElement("-D" + SFSecurityProperties.propKeyStoreName +                    "=" + secProp);            }        }    }