aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Tools/Export/OpenSimExport.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Tools/Export/OpenSimExport.cs b/OpenSim/Tools/Export/OpenSimExport.cs
index cdafbdb..03eb123 100644
--- a/OpenSim/Tools/Export/OpenSimExport.cs
+++ b/OpenSim/Tools/Export/OpenSimExport.cs
@@ -31,6 +31,7 @@ using Nini.Config;
31using OpenSim; 31using OpenSim;
32using OpenSim.Framework; 32using OpenSim.Framework;
33using OpenSim.Framework.Console; 33using OpenSim.Framework.Console;
34using OpenSim.Region.Environment;
34using Mono.Addins; 35using Mono.Addins;
35using Mono.Addins.Description; 36using Mono.Addins.Description;
36 37
@@ -39,10 +40,17 @@ namespace OpenSim.Tools.Export
39 public class OpenSimExport 40 public class OpenSimExport
40 { 41 {
41 private IniConfigSource config; 42 private IniConfigSource config;
43 private StorageManager sman;
42 44
43 public OpenSimExport(IniConfigSource config) 45 public OpenSimExport(IniConfigSource config)
44 { 46 {
45 this.config = config; 47 this.config = config;
48 IConfig startup = config.Configs["Startup"];
49 sman = new StorageManager(
50 startup.GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll"),
51 startup.GetString("storage_connection_string","")
52 );
53
46 } 54 }
47 55
48 public static void Main(string[] args) 56 public static void Main(string[] args)
@@ -52,6 +60,8 @@ namespace OpenSim.Tools.Export
52 System.Console.WriteLine("This application does nothing useful yet"); 60 System.Console.WriteLine("This application does nothing useful yet");
53 } 61 }
54 62
63
64
55 private static IniConfigSource InitConfig(string[] args) 65 private static IniConfigSource InitConfig(string[] args)
56 { 66 {
57 System.Console.WriteLine("Good"); 67 System.Console.WriteLine("Good");