aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2009-05-09 05:21:56 +0000
committerTeravus Ovares2009-05-09 05:21:56 +0000
commitdac793ea47a5ec370f86dd54b624de8510dc124f (patch)
tree862e4bd25ff423ec357c54b752cf1b97c6d434d3
parentMake remote assets work through the new server system (diff)
downloadopensim-SC_OLD-dac793ea47a5ec370f86dd54b624de8510dc124f.zip
opensim-SC_OLD-dac793ea47a5ec370f86dd54b624de8510dc124f.tar.gz
opensim-SC_OLD-dac793ea47a5ec370f86dd54b624de8510dc124f.tar.bz2
opensim-SC_OLD-dac793ea47a5ec370f86dd54b624de8510dc124f.tar.xz
* 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)
-rw-r--r--OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml8
-rw-r--r--OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs (renamed from OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs)2
-rw-r--r--OpenSim/Region/ReplaceableModules/README.txt5
-rw-r--r--prebuild.xml39
4 files changed, 53 insertions, 1 deletions
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 0000000..a25f297
--- /dev/null
+++ b/OpenSim/Region/ReplaceableModules/MoneyModule/Resources/MoneyModulePlugin.addin.xml
@@ -0,0 +1,8 @@
1<Addin id="OpenSim.Region.ReplaceableModules.MoneyModule" version="0.2">
2 <Runtime>
3 <Import assembly="OpenSim.Region.ReplaceableModules.MoneyModule.dll"/>
4 </Runtime>
5 <Dependencies>
6 <Addin id="OpenSim" version="0.5" />
7 </Dependencies>
8</Addin> \ No newline at end of file
diff --git a/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/ReplaceableModules/MoneyModule/SampleMoneyModule.cs
index ea4a785..7d79102 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;
42using OpenSim.Region.Framework.Interfaces; 42using OpenSim.Region.Framework.Interfaces;
43using OpenSim.Region.Framework.Scenes; 43using OpenSim.Region.Framework.Scenes;
44 44
45namespace OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney 45namespace OpenSim.Region.ReplaceableModules.MoneyModule
46{ 46{
47 /// <summary> 47 /// <summary>
48 /// Demo Economy/Money Module. This is not a production quality money/economy module! 48 /// 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 0000000..e8e759b
--- /dev/null
+++ b/OpenSim/Region/ReplaceableModules/README.txt
@@ -0,0 +1,5 @@
1This folder is for modules that we intend to let users and system admins replace.
2
3This folder should never end up a project. Only subfolders should end up as a project. The idea here is that each folder
4will produce a project and a separate .dll assembly for the module that will get picked up by the module loader.
5To 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 b451fec..85f2702 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -2964,6 +2964,45 @@
2964 </Match> 2964 </Match>
2965 </Files> 2965 </Files>
2966 </Project> 2966 </Project>
2967
2968 <Project name="OpenSim.Region.ReplaceableModules.MoneyModule" path="OpenSim/Region/ReplaceableModules/MoneyModule" type="Library">
2969 <Configuration name="Debug">
2970 <Options>
2971 <OutputPath>../../../../bin/</OutputPath>
2972 </Options>
2973 </Configuration>
2974 <Configuration name="Release">
2975 <Options>
2976 <OutputPath>../../../../bin/</OutputPath>
2977 </Options>
2978 </Configuration>
2979
2980 <ReferencePath>../../../../bin/</ReferencePath>
2981 <Reference name="System"/>
2982 <Reference name="System.Xml"/>
2983 <Reference name="System.Web"/>
2984 <Reference name="OpenMetaverseTypes.dll"/>
2985 <Reference name="OpenMetaverse.dll"/>
2986 <Reference name="OpenSim.Framework"/>
2987 <Reference name="OpenSim.Framework.Communications"/>
2988 <Reference name="OpenSim.Region.Framework" />
2989 <Reference name="OpenSim.Framework.Servers"/>
2990 <Reference name="OpenSim.Framework.Servers.HttpServer"/>
2991 <Reference name="OpenSim.Framework.Serialization"/>
2992 <Reference name="OpenSim.Framework.Console"/>
2993 <Reference name="XMLRPC.dll"/>
2994 <Reference name="OpenSim.Framework.Communications"/>
2995 <Reference name="Nini.dll" />
2996 <Reference name="log4net.dll"/>
2997
2998 <Files>
2999 <Match pattern="*.addin.xml" path="Resources" buildAction="EmbeddedResource" recurse="true"/>
3000 <Match pattern="*.cs" recurse="true">
3001 </Match>
3002 <Match pattern="*.addin.xml" path="Resources" buildAction="EmbeddedResource" recurse="true"/>
3003 </Files>
3004 </Project>
3005
2967 <Project name="OpenSim.Region.UserStatistics" path="OpenSim/Region/UserStatistics" type="Library"> 3006 <Project name="OpenSim.Region.UserStatistics" path="OpenSim/Region/UserStatistics" type="Library">
2968 <Configuration name="Debug"> 3007 <Configuration name="Debug">
2969 <Options> 3008 <Options>