diff options
author | Melanie | 2009-08-21 11:35:40 +0100 |
---|---|---|
committer | Melanie | 2009-08-21 11:35:40 +0100 |
commit | 7daf6dbbd3ae70f43793c360bc3ab08efd89e850 (patch) | |
tree | 18a76a8f5000ede58c34044c3db35c7dd07d77a5 /OpenSim/Grid/GridServer/Program.cs | |
parent | Add copyright header. Formatting cleanup. (diff) | |
download | opensim-SC_OLD-7daf6dbbd3ae70f43793c360bc3ab08efd89e850.zip opensim-SC_OLD-7daf6dbbd3ae70f43793c360bc3ab08efd89e850.tar.gz opensim-SC_OLD-7daf6dbbd3ae70f43793c360bc3ab08efd89e850.tar.bz2 opensim-SC_OLD-7daf6dbbd3ae70f43793c360bc3ab08efd89e850.tar.xz |
Add -xmlfile= option to UGM, to let the files be outside bin if desired
Diffstat (limited to 'OpenSim/Grid/GridServer/Program.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/Program.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Grid/GridServer/Program.cs b/OpenSim/Grid/GridServer/Program.cs index c7ba897..741a01b 100644 --- a/OpenSim/Grid/GridServer/Program.cs +++ b/OpenSim/Grid/GridServer/Program.cs | |||
@@ -36,6 +36,7 @@ namespace OpenSim.Grid.GridServer | |||
36 | { | 36 | { |
37 | ArgvConfigSource argvSource = new ArgvConfigSource(args); | 37 | ArgvConfigSource argvSource = new ArgvConfigSource(args); |
38 | argvSource.AddSwitch("Startup", "console", "c"); | 38 | argvSource.AddSwitch("Startup", "console", "c"); |
39 | argvSource.AddSwitch("Startup", "xmlfile", "x"); | ||
39 | 40 | ||
40 | XmlConfigurator.Configure(); | 41 | XmlConfigurator.Configure(); |
41 | 42 | ||
@@ -45,6 +46,7 @@ namespace OpenSim.Grid.GridServer | |||
45 | if (startupConfig != null) | 46 | if (startupConfig != null) |
46 | { | 47 | { |
47 | app.m_consoleType = startupConfig.GetString("console", "local"); | 48 | app.m_consoleType = startupConfig.GetString("console", "local"); |
49 | app.m_configFile = startupConfig.GetString("xmlfile", "GridServer_Config.xml"); | ||
48 | } | 50 | } |
49 | 51 | ||
50 | app.m_configSource = argvSource; | 52 | app.m_configSource = argvSource; |