126 |
# Builds the default properties file if it does not exist |
# Builds the default properties file if it does not exist |
127 |
# |
# |
128 |
def load_properties |
def load_properties |
129 |
unless File.exist?(@propertiesFile) |
unless Properties.exist?(@propertiesFile) |
130 |
require 'ftools' |
Properties.copy(@defaultPropertiesFile, @propertiesFile) |
|
File.copy(@defaultPropertiesFile, @propertiesFile) |
|
131 |
@properties = Properties.new("Core configuration file", |
@properties = Properties.new("Core configuration file", |
132 |
"1.0", |
"1.0", |
133 |
@bus["/system/properties"], |
@bus["/system/properties"], |