From f43a64805251dfbb2e24abc481b8b59c062d452e Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 28 Dec 2009 09:22:35 -0800 Subject: [PATCH] * Added the new modules to Resources, making them active. * Added their configs to standalone for testing. This crashes, because the DB is still not ready. --- .../Region/CoreModules/Resources/CoreModulePlugin.addin.xml | 2 ++ .../Presence/LocalPresenceServiceConnector.cs | 4 ++-- .../Presence/RemotePresenceServiceConnector.cs | 2 +- bin/config-include/Standalone.ini | 3 +++ bin/config-include/StandaloneHypergrid.ini | 4 ++++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/CoreModules/Resources/CoreModulePlugin.addin.xml b/OpenSim/Region/CoreModules/Resources/CoreModulePlugin.addin.xml index 40a13f4ed3..79796b1a33 100644 --- a/OpenSim/Region/CoreModules/Resources/CoreModulePlugin.addin.xml +++ b/OpenSim/Region/CoreModules/Resources/CoreModulePlugin.addin.xml @@ -48,6 +48,8 @@ + + diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs index 510e9cb5fe..8aad7e02f6 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs @@ -40,7 +40,7 @@ using Nini.Config; namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence { - public class LocalPresenceServiceConnector : ISharedRegionModule, IPresenceService + public class LocalPresenceServicesConnector : ISharedRegionModule, IPresenceService { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -58,7 +58,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence public string Name { - get { return "LocalPresenceServiceConnector"; } + get { return "LocalPresenceServicesConnector"; } } public void Initialise(IConfigSource source) diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/RemotePresenceServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/RemotePresenceServiceConnector.cs index d75ed51cf3..6a674ce7c1 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/RemotePresenceServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/RemotePresenceServiceConnector.cs @@ -41,7 +41,7 @@ using Nini.Config; namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence { - public class RemotePresenceServiceConnector : ISharedRegionModule, IPresenceService + public class RemotePresenceServicesConnector : ISharedRegionModule, IPresenceService { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/bin/config-include/Standalone.ini b/bin/config-include/Standalone.ini index cdfdf4b863..c4cffb936d 100644 --- a/bin/config-include/Standalone.ini +++ b/bin/config-include/Standalone.ini @@ -13,6 +13,7 @@ NeighbourServices = "LocalNeighbourServicesConnector" AuthorizationServices = "LocalAuthorizationServicesConnector" GridServices = "LocalGridServicesConnector" + PresenceServices ="LocalPresenceServicesConnector" LibraryModule = true [AssetService] @@ -28,3 +29,5 @@ LocalServiceModule = "OpenSim.Services.GridService.dll:GridService" Realm = "regions" +[PresenceService] + LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService" diff --git a/bin/config-include/StandaloneHypergrid.ini b/bin/config-include/StandaloneHypergrid.ini index 909286cc52..bd9de33d4c 100644 --- a/bin/config-include/StandaloneHypergrid.ini +++ b/bin/config-include/StandaloneHypergrid.ini @@ -16,6 +16,7 @@ NeighbourServices = "RemoteNeighbourServicesConnector" AuthorizationServices = "LocalAuthorizationServicesConnector" GridServices = "HGGridServicesConnector" + PresenceServices ="LocalPresenceServicesConnector" InventoryServiceInConnector = true AssetServiceInConnector = true HGAuthServiceInConnector = true @@ -52,3 +53,6 @@ ; LocalGridServicesConnector needs this LocalServiceModule = "OpenSim.Services.GridService.dll:GridService" Realm = "regions" + +[PresenceService] + LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"