From f80ba373fa6c06eda6ed89de811cbd716d6b80f7 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 4 May 2009 15:04:24 +0000 Subject: Prebuild changes to allow the console to reference the http server --- OpenSim/Framework/Console/RemoteConsole.cs | 15 +++++++++++ prebuild.xml | 42 ++++++++++++++++-------------- 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index f254300..71f075e 100644 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs @@ -31,6 +31,8 @@ using System.Diagnostics; using System.Reflection; using System.Text; using System.Threading; +using Nini.Config; +using OpenSim.Framework.Servers.Interfaces; using log4net; namespace OpenSim.Framework.Console @@ -41,10 +43,23 @@ namespace OpenSim.Framework.Console { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private IHttpServer m_Server = null; + private IConfigSource m_Config = null; + public RemoteConsole(string defaultPrompt) : base(defaultPrompt) { } + public void ReadConfig(IConfigSource config) + { + m_Config = config; + } + + public void SetServer(IHttpServer server) + { + m_Server = server; + } + public override void Output(string text) { } diff --git a/prebuild.xml b/prebuild.xml index 2f0b27b..b2f695a 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -55,26 +55,6 @@ --> - - - - ../../../bin/ - - - - - ../../../bin/ - - - - ../../../bin/ - - - - - - - @@ -350,6 +330,28 @@ + + + + ../../../bin/ + + + + + ../../../bin/ + + + + ../../../bin/ + + + + + + + + + -- cgit v1.1