From 3aa6fd0d2c199e9b8f4a62a4f30092d8d1b45d25 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 14 May 2009 11:26:14 +0000 Subject: [PATCH] Move the server request handlers into a separate lib nunit can digest --- .../AssetServerConnector.cs | 1 + .../{Asset => AssetServer}/AssetServerMain.cs | 0 .../Handlers}/AssetServerDeleteHandler.cs | 2 +- .../Handlers}/AssetServerGetHandler.cs | 2 +- .../Handlers}/AssetServerPostHandler.cs | 2 +- .../UserServerConnector.cs | 0 .../{User => UserServer}/UserServerMain.cs | 0 prebuild.xml | 38 +++++++++++++++++-- 8 files changed, 39 insertions(+), 6 deletions(-) rename OpenSim/Servers/{Asset => AssetServer}/AssetServerConnector.cs (98%) rename OpenSim/Servers/{Asset => AssetServer}/AssetServerMain.cs (100%) rename OpenSim/Servers/{Asset => AssetServer/Handlers}/AssetServerDeleteHandler.cs (98%) rename OpenSim/Servers/{Asset => AssetServer/Handlers}/AssetServerGetHandler.cs (98%) rename OpenSim/Servers/{Asset => AssetServer/Handlers}/AssetServerPostHandler.cs (98%) rename OpenSim/Servers/{User => UserServer}/UserServerConnector.cs (100%) rename OpenSim/Servers/{User => UserServer}/UserServerMain.cs (100%) diff --git a/OpenSim/Servers/Asset/AssetServerConnector.cs b/OpenSim/Servers/AssetServer/AssetServerConnector.cs similarity index 98% rename from OpenSim/Servers/Asset/AssetServerConnector.cs rename to OpenSim/Servers/AssetServer/AssetServerConnector.cs index 0dcfb5e6d0..1801e684f6 100644 --- a/OpenSim/Servers/Asset/AssetServerConnector.cs +++ b/OpenSim/Servers/AssetServer/AssetServerConnector.cs @@ -28,6 +28,7 @@ using System; using Nini.Config; using OpenSim.Servers.Base; +using OpenSim.Servers.AssetServer.Handlers; using OpenSim.Services.Interfaces; using OpenSim.Framework.Servers.HttpServer; diff --git a/OpenSim/Servers/Asset/AssetServerMain.cs b/OpenSim/Servers/AssetServer/AssetServerMain.cs similarity index 100% rename from OpenSim/Servers/Asset/AssetServerMain.cs rename to OpenSim/Servers/AssetServer/AssetServerMain.cs diff --git a/OpenSim/Servers/Asset/AssetServerDeleteHandler.cs b/OpenSim/Servers/AssetServer/Handlers/AssetServerDeleteHandler.cs similarity index 98% rename from OpenSim/Servers/Asset/AssetServerDeleteHandler.cs rename to OpenSim/Servers/AssetServer/Handlers/AssetServerDeleteHandler.cs index 010d7a7520..e90353bc3d 100644 --- a/OpenSim/Servers/Asset/AssetServerDeleteHandler.cs +++ b/OpenSim/Servers/AssetServer/Handlers/AssetServerDeleteHandler.cs @@ -40,7 +40,7 @@ using OpenSim.Services.Interfaces; using OpenSim.Framework; using OpenSim.Framework.Servers.HttpServer; -namespace OpenSim.Servers.AssetServer +namespace OpenSim.Servers.AssetServer.Handlers { public class AssetServerDeleteHandler : BaseStreamHandler { diff --git a/OpenSim/Servers/Asset/AssetServerGetHandler.cs b/OpenSim/Servers/AssetServer/Handlers/AssetServerGetHandler.cs similarity index 98% rename from OpenSim/Servers/Asset/AssetServerGetHandler.cs rename to OpenSim/Servers/AssetServer/Handlers/AssetServerGetHandler.cs index 935a07c77d..7bb3364917 100644 --- a/OpenSim/Servers/Asset/AssetServerGetHandler.cs +++ b/OpenSim/Servers/AssetServer/Handlers/AssetServerGetHandler.cs @@ -40,7 +40,7 @@ using OpenSim.Services.Interfaces; using OpenSim.Framework; using OpenSim.Framework.Servers.HttpServer; -namespace OpenSim.Servers.AssetServer +namespace OpenSim.Servers.AssetServer.Handlers { public class AssetServerGetHandler : BaseStreamHandler { diff --git a/OpenSim/Servers/Asset/AssetServerPostHandler.cs b/OpenSim/Servers/AssetServer/Handlers/AssetServerPostHandler.cs similarity index 98% rename from OpenSim/Servers/Asset/AssetServerPostHandler.cs rename to OpenSim/Servers/AssetServer/Handlers/AssetServerPostHandler.cs index 3bc7267cfc..5a051016ab 100644 --- a/OpenSim/Servers/Asset/AssetServerPostHandler.cs +++ b/OpenSim/Servers/AssetServer/Handlers/AssetServerPostHandler.cs @@ -40,7 +40,7 @@ using OpenSim.Services.Interfaces; using OpenSim.Framework; using OpenSim.Framework.Servers.HttpServer; -namespace OpenSim.Servers.AssetServer +namespace OpenSim.Servers.AssetServer.Handlers { public class AssetServerPostHandler : BaseStreamHandler { diff --git a/OpenSim/Servers/User/UserServerConnector.cs b/OpenSim/Servers/UserServer/UserServerConnector.cs similarity index 100% rename from OpenSim/Servers/User/UserServerConnector.cs rename to OpenSim/Servers/UserServer/UserServerConnector.cs diff --git a/OpenSim/Servers/User/UserServerMain.cs b/OpenSim/Servers/UserServer/UserServerMain.cs similarity index 100% rename from OpenSim/Servers/User/UserServerMain.cs rename to OpenSim/Servers/UserServer/UserServerMain.cs diff --git a/prebuild.xml b/prebuild.xml index c3f8458a54..c6f0dda57e 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -1382,7 +1382,7 @@ - + ../../../bin/ @@ -1412,7 +1412,38 @@ - + + + + ../../../../bin/ + + + + + ../../../../bin/ + + + + ../../../../bin/ + + + + + + + + + + + + + + + + + + + ../../../bin/ @@ -1433,13 +1464,14 @@ + - +