Prebuild changes to allow the console to reference the http server

0.6.5-rc1
Melanie Thielker 2009-05-04 15:04:24 +00:00
parent 509ec2637b
commit f80ba373fa
2 changed files with 37 additions and 20 deletions

View File

@ -31,6 +31,8 @@ using System.Diagnostics;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using Nini.Config;
using OpenSim.Framework.Servers.Interfaces;
using log4net; using log4net;
namespace OpenSim.Framework.Console namespace OpenSim.Framework.Console
@ -41,10 +43,23 @@ namespace OpenSim.Framework.Console
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 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 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) public override void Output(string text)
{ {
} }

View File

@ -55,26 +55,6 @@
</Project> </Project>
--> -->
<Project name="OpenSim.Framework.Console" path="OpenSim/Framework/Console" type="Library">
<Configuration name="Debug">
<Options>
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<Configuration name="Release">
<Options>
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<ReferencePath>../../../bin/</ReferencePath>
<Reference name="System"/>
<Reference name="log4net.dll"/>
<Files>
<Match pattern="*.cs" recurse="true"/>
</Files>
</Project>
<Project name="OpenSim.Framework" path="OpenSim/Framework" type="Library"> <Project name="OpenSim.Framework" path="OpenSim/Framework" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>
@ -350,6 +330,28 @@
</Files> </Files>
</Project> </Project>
<Project name="OpenSim.Framework.Console" path="OpenSim/Framework/Console" type="Library">
<Configuration name="Debug">
<Options>
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<Configuration name="Release">
<Options>
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<ReferencePath>../../../bin/</ReferencePath>
<Reference name="System"/>
<Reference name="log4net.dll"/>
<Reference name="Nini.dll"/>
<Reference name="OpenSim.Framework.Servers"/>
<Files>
<Match pattern="*.cs" recurse="true"/>
</Files>
</Project>
<Project name="OpenSim.Region.Physics.Manager" path="OpenSim/Region/Physics/Manager" type="Library"> <Project name="OpenSim.Region.Physics.Manager" path="OpenSim/Region/Physics/Manager" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>