public void addConfiguredSyspropertyset(PropertySet propertySet){
  ResourceBundle bundle=propertySet.readProperties();
  Enumeration keys=bundle.getKeys();
  while (keys.hasMoreElements()) {
    String key=(String)keys.nextElement();
    Variable var=new Variable();
    var.setKey(key);
    var.setValue(bundle.getString(key));
    addSysproperty(var);
  }
}

public void addConfiguredSyspropertyset ( PropertySet propertySet ) { ResourceBundle bundle = propertySet . readProperties ( ) ; Enumeration keys = bundle . getKeys ( ) ; while ( keys . hasMoreElements ( ) ) { String key = ( String ) keys . nextElement ( ) ; Variable var = new Variable ( ) ; var . setKey ( key ) ; var . setValue ( bundle . getString ( key ) ) ; addSysproperty ( var ) ; } }
adds a set of properties that will be used as system properties in the executing container vm . note : when we switch to ant 1 . 6 we will be able to replace this by ant 1 . 6 propertyset
