From dac793ea47a5ec370f86dd54b624de8510dc124f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 9 May 2009 05:21:56 +0000 Subject: [PATCH] * Break out the SampleMoneyModule to a new namespace * Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme) * Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace * Put our current Sample MoneyModule in this namespace. (more modifications here next commit) --- .../Resources/MoneyModulePlugin.addin.xml | 8 ++++ .../MoneyModule}/SampleMoneyModule.cs | 2 +- OpenSim/Region/ReplaceableModules/README.txt | 5 +++ prebuild.xml | 39 +++++++++++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml rename OpenSim/Region/{CoreModules/Avatar/Currency/SampleMoney => ReplaceableModules/MoneyModule}/SampleMoneyModule.cs (99%) create mode 100644 OpenSim/Region/ReplaceableModules/README.txt diff --git a/OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml b/OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml new file mode 100644 index 0000000000..a25f2979da --- /dev/null +++ b/OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs similarity index 99% rename from OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs rename to OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs index ea4a785f13..7d7910219e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs +++ b/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs @@ -42,7 +42,7 @@ using OpenSim.Framework.Servers.HttpServer; using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Scenes; -namespace OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney +namespace OpenSim.Region.ReplaceableModules.MoneyModule { /// /// Demo Economy/Money Module. This is not a production quality money/economy module! diff --git a/OpenSim/Region/ReplaceableModules/README.txt b/OpenSim/Region/ReplaceableModules/README.txt new file mode 100644 index 0000000000..e8e759b548 --- /dev/null +++ b/OpenSim/Region/ReplaceableModules/README.txt @@ -0,0 +1,5 @@ +This folder is for modules that we intend to let users and system admins replace. + +This folder should never end up a project. Only subfolders should end up as a project. The idea here is that each folder +will produce a project and a separate .dll assembly for the module that will get picked up by the module loader. +To replace the functionality, you simply replace the .dll with a different one. \ No newline at end of file diff --git a/prebuild.xml b/prebuild.xml index b451fece39..85f270282f 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -2964,6 +2964,45 @@ + + + + + ../../../../bin/ + + + + + ../../../../bin/ + + + + ../../../../bin/ + + + + + + + + + + + + + + + + + + + + + + + + +