Mantis #2133
Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml0.6.0-stable
parent
f342bd1e96
commit
9e545c9984
|
@ -121,7 +121,7 @@ namespace OpenSim.Data.MySQL
|
|||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("Using deprecated mysql_connection.ini. Please update database_connect in GridServer_Config.Xml and we'll use that instead");
|
||||
m_log.Warn("Using deprecated mysql_connection.ini. Please update database_connect in GridServer_Config.xml and we'll use that instead");
|
||||
IniFile GridDataMySqlFile = new IniFile("mysql_connection.ini");
|
||||
string settingHostname = GridDataMySqlFile.ParseFileReadValue("hostname");
|
||||
string settingDatabase = GridDataMySqlFile.ParseFileReadValue("database");
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSim.Data.MySQL
|
|||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("Using deprecated mysql_connection.ini. Please update database_connect in GridServer_Config.Xml and we'll use that instead");
|
||||
m_log.Warn("Using deprecated mysql_connection.ini. Please update database_connect in GridServer_Config.xml and we'll use that instead");
|
||||
|
||||
IniFile GridDataMySqlFile = new IniFile("mysql_connection.ini");
|
||||
string settingHostname = GridDataMySqlFile.ParseFileReadValue("hostname");
|
||||
|
|
|
@ -88,7 +88,7 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
|
|||
|
||||
public void ForEachDefaultXmlAsset(Action<AssetBase> action)
|
||||
{
|
||||
string assetSetFilename = Path.Combine(Util.assetsDir(), "AssetSets.Xml");
|
||||
string assetSetFilename = Path.Combine(Util.assetsDir(), "AssetSets.xml");
|
||||
|
||||
ForEachDefaultXmlAsset(assetSetFilename, action);
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
|
|||
}
|
||||
else
|
||||
{
|
||||
m_log.Error("[ASSETS]: Asset set control file assets/AssetSets.Xml does not exist! No assets loaded.");
|
||||
m_log.Error("[ASSETS]: Asset set control file assets/AssetSets.xml does not exist! No assets loaded.");
|
||||
}
|
||||
|
||||
assets.ForEach(action);
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace OpenSim.Framework.Communications.Cache
|
|||
|
||||
libraryFolders.Add(ID, this);
|
||||
|
||||
LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.Xml"));
|
||||
LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml"));
|
||||
|
||||
// CreateLibraryItems();
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace OpenSim.Framework.Communications
|
|||
new PluginLoader<IInventoryDataPlugin> (new InventoryDataInitialiser (connect));
|
||||
|
||||
// loader will try to load all providers (MySQL, MSSQL, etc)
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.Xml
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.xml
|
||||
loader.Add ("/OpenSim/InventoryData", new PluginProviderFilter (provider));
|
||||
loader.Load();
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace OpenSim.Framework.Communications
|
|||
new PluginLoader<IUserDataPlugin> (new UserDataInitialiser (connect));
|
||||
|
||||
// loader will try to load all providers (MySQL, MSSQL, etc)
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.Xml
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.xml
|
||||
loader.Add ("/OpenSim/UserData", new PluginProviderFilter (provider));
|
||||
loader.Load();
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace OpenSim.Framework.Configuration.HTTP
|
|||
|
||||
public HTTPConfiguration()
|
||||
{
|
||||
remoteConfigSettings = new RemoteConfigSettings("remoteconfig.Xml");
|
||||
remoteConfigSettings = new RemoteConfigSettings("remoteconfig.xml");
|
||||
xmlConfig = new XmlConfiguration();
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace OpenSim.Framework.Configuration.XML
|
|||
{
|
||||
rootNode = doc.SelectSingleNode("Root");
|
||||
if (null == rootNode)
|
||||
throw new Exception("Error: Invalid .Xml File. Missing <Root>");
|
||||
throw new Exception("Error: Invalid .xml File. Missing <Root>");
|
||||
|
||||
configNode = rootNode.SelectSingleNode("Config");
|
||||
if (null == configNode)
|
||||
|
|
|
@ -281,7 +281,7 @@ namespace OpenSim.Framework
|
|||
//
|
||||
configMember =
|
||||
new ConfigurationMember(Path.Combine(Util.configDir(),
|
||||
"estate_settings.Xml"), "ESTATE SETTINGS",
|
||||
"estate_settings.xml"), "ESTATE SETTINGS",
|
||||
loadConfigurationOptions,
|
||||
handleIncomingConfiguration, true);
|
||||
|
||||
|
|
|
@ -342,7 +342,7 @@ namespace OpenSim.Framework
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Filters out which plugin to load based on its "Provider", which is name given by in the addin.Xml
|
||||
/// Filters out which plugin to load based on its "Provider", which is name given by in the addin.xml
|
||||
/// </summary>
|
||||
public class PluginProviderFilter : IPluginFilter
|
||||
{
|
||||
|
|
|
@ -59,12 +59,12 @@ namespace OpenSim.Framework.RegionLoader.Filesystem
|
|||
Directory.CreateDirectory(regionConfigPath);
|
||||
}
|
||||
|
||||
string[] configFiles = Directory.GetFiles(regionConfigPath, "*.Xml");
|
||||
string[] configFiles = Directory.GetFiles(regionConfigPath, "*.xml");
|
||||
|
||||
if (configFiles.Length == 0)
|
||||
{
|
||||
new RegionInfo("DEFAULT REGION CONFIG", Path.Combine(regionConfigPath, "default.Xml"), false);
|
||||
configFiles = Directory.GetFiles(regionConfigPath, "*.Xml");
|
||||
new RegionInfo("DEFAULT REGION CONFIG", Path.Combine(regionConfigPath, "default.xml"), false);
|
||||
configFiles = Directory.GetFiles(regionConfigPath, "*.xml");
|
||||
}
|
||||
|
||||
RegionInfo[] regionInfos = new RegionInfo[configFiles.Length];
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace OpenSim.Framework
|
|||
{
|
||||
if (configMember == null)
|
||||
{
|
||||
configMember = new ConfigurationMember(Path.Combine(Util.configDir(), "estate_settings.Xml"), "ESTATE SETTINGS", LoadConfigurationOptions, HandleIncomingConfiguration, true);
|
||||
configMember = new ConfigurationMember(Path.Combine(Util.configDir(), "estate_settings.xml"), "ESTATE SETTINGS", LoadConfigurationOptions, HandleIncomingConfiguration, true);
|
||||
configMember.performConfigurationRetrieve();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -709,7 +709,7 @@ namespace OpenSim.Framework.Servers
|
|||
// We'd like to put this into a text file parhaps that's easily editable.
|
||||
//
|
||||
// For this test to work, I used the following secondlife.exe parameters
|
||||
// "C:\Program Files\SecondLifeWindLight\SecondLifeWindLight.exe" -settings settings_windlight.Xml -channel "Second Life WindLight" -set SystemLanguage en-us -loginpage http://10.1.1.2:8002/?show_login_form=TRUE -loginuri http://10.1.1.2:8002 -user 10.1.1.2
|
||||
// "C:\Program Files\SecondLifeWindLight\SecondLifeWindLight.exe" -settings settings_windlight.xml -channel "Second Life WindLight" -set SystemLanguage en-us -loginpage http://10.1.1.2:8002/?show_login_form=TRUE -loginuri http://10.1.1.2:8002 -user 10.1.1.2
|
||||
//
|
||||
// Even after all that, there's still an error, but it's a start.
|
||||
//
|
||||
|
|
|
@ -119,7 +119,7 @@ namespace OpenSim.Grid.AssetServer
|
|||
new PluginLoader<IAssetProviderPlugin> (new AssetDataInitialiser (connect));
|
||||
|
||||
// loader will try to load all providers (MySQL, MSSQL, etc)
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.Xml
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.xml
|
||||
loader.Add ("/OpenSim/AssetData", new PluginProviderFilter (provider));
|
||||
loader.Load();
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace OpenSim.Grid.GridServer
|
|||
new PluginLoader<ILogDataPlugin> (new LogDataInitialiser (connect));
|
||||
|
||||
// loader will try to load all providers (MySQL, MSSQL, etc)
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.Xml
|
||||
// unless it is constrainted to the correct "Provider" entry in the addin.xml
|
||||
gridloader.Add ("/OpenSim/GridData", new PluginProviderFilter (provider));
|
||||
logloader.Add ("/OpenSim/LogData", new PluginProviderFilter (provider));
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace OpenSim.Grid.MessagingServer
|
|||
{
|
||||
base.Startup();
|
||||
|
||||
Cfg = new MessageServerConfig("MESSAGING SERVER", (Path.Combine(Util.configDir(), "MessagingServer_Config.Xml")));
|
||||
Cfg = new MessageServerConfig("MESSAGING SERVER", (Path.Combine(Util.configDir(), "MessagingServer_Config.xml")));
|
||||
|
||||
m_log.Info("[REGION]: Starting HTTP process");
|
||||
m_httpServer = new BaseHttpServer(Cfg.HttpPort);
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace OpenSim.Grid.UserServer
|
|||
{
|
||||
base.Startup();
|
||||
|
||||
Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.Xml")));
|
||||
Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.xml")));
|
||||
|
||||
m_stats = StatsManager.StartCollectingUserStats();
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace OpenSim
|
|||
/// <summary>
|
||||
/// The file used to load and save prim backup xml if no filename has been specified
|
||||
/// </summary>
|
||||
protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.Xml";
|
||||
protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml";
|
||||
|
||||
/// <summary>
|
||||
/// The file used to load and save an opensim archive if no filename has been specified
|
||||
|
@ -178,17 +178,17 @@ namespace OpenSim
|
|||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists("OpenSim.Xml"))
|
||||
if (File.Exists("OpenSim.xml"))
|
||||
{
|
||||
//check for a xml config file
|
||||
Application.iniFilePath = "OpenSim.Xml";
|
||||
Application.iniFilePath = "OpenSim.xml";
|
||||
m_config.Source = new XmlConfigSource();
|
||||
m_config.Source.Merge(new XmlConfigSource(Application.iniFilePath));
|
||||
m_config.Source.Merge(configSource);
|
||||
}
|
||||
else
|
||||
{
|
||||
//Application.iniFilePath = "OpenSim.Xml";
|
||||
//Application.iniFilePath = "OpenSim.xml";
|
||||
// m_config.ConfigSource = new XmlConfigSource();
|
||||
// no default config files, so set default values, and save it
|
||||
m_config.Source.Merge(DefaultConfig());
|
||||
|
|
|
@ -136,7 +136,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
|
||||
// Return new port
|
||||
// This because in Grid mode it is not really important what port the region listens to as long as it is correctly registered.
|
||||
// So the option allow_alternate_ports="true" was added to default.Xml
|
||||
// So the option allow_alternate_ports="true" was added to default.xml
|
||||
port = (uint)(listenPort - proxyPortOffset);
|
||||
}
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ namespace OpenSim.Region.DataSnapshot
|
|||
private string DataFileNameScene(Scene scene)
|
||||
{
|
||||
return Path.Combine(m_directory, Path.ChangeExtension(scene.RegionInfo.RegionName, "xml"));
|
||||
//return (m_snapsDir + Path.DirectorySeparatorChar + scene.RegionInfo.RegionName + ".Xml");
|
||||
//return (m_snapsDir + Path.DirectorySeparatorChar + scene.RegionInfo.RegionName + ".xml");
|
||||
}
|
||||
|
||||
private XmlNode MakeRegionNode(Scene scene, XmlDocument basedoc)
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
/// <summary>
|
||||
/// The location of the archive control file
|
||||
/// </summary>
|
||||
public static readonly string CONTROL_FILE_PATH = "archive.Xml";
|
||||
public static readonly string CONTROL_FILE_PATH = "archive.xml";
|
||||
|
||||
/// <summary>
|
||||
/// Path for the assets held in an archive
|
||||
|
@ -48,7 +48,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
/// <summary>
|
||||
/// Path for the assets metadata file
|
||||
/// </summary>
|
||||
//public static readonly string ASSETS_METADATA_PATH = "assets.Xml";
|
||||
//public static readonly string ASSETS_METADATA_PATH = "assets.xml";
|
||||
|
||||
/// <summary>
|
||||
/// Path for the prims file
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
string serializedObject = m_serialiser.SaveGroupToXml2(sceneObject);
|
||||
string filename
|
||||
= string.Format(
|
||||
"{0}{1}_{2:000}-{3:000}-{4:000}__{5}.Xml",
|
||||
"{0}{1}_{2:000}-{3:000}-{4:000}__{5}.xml",
|
||||
ArchiveConstants.OBJECTS_PATH, sceneObject.Name,
|
||||
Math.Round(position.X), Math.Round(position.Y), Math.Round(position.Z),
|
||||
sceneObject.UUID);
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
|
||||
xtw.WriteEndDocument();
|
||||
|
||||
archive.AddFile("assets.Xml", sw.ToString());
|
||||
archive.AddFile("assets.xml", sw.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -40,11 +40,11 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser
|
|||
|
||||
public string WriteToFile(Scene scene, string dir)
|
||||
{
|
||||
string targetFileName = dir + "objects.Xml";
|
||||
string targetFileName = dir + "objects.xml";
|
||||
|
||||
SaveSerialisedToFile(targetFileName, scene);
|
||||
|
||||
return "objects.Xml";
|
||||
return "objects.xml";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
public AvatarAnimations()
|
||||
{
|
||||
using (XmlTextReader reader = new XmlTextReader("data/avataranimations.Xml"))
|
||||
using (XmlTextReader reader = new XmlTextReader("data/avataranimations.xml"))
|
||||
{
|
||||
XmlDocument doc = new XmlDocument();
|
||||
doc.Load(reader);
|
||||
|
|
|
@ -117,7 +117,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
|
|||
public void LoadRegion(Scene scene)
|
||||
{
|
||||
scene.LoadPrimsFromXml2(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID +
|
||||
Slash.DirectorySeparatorChar + "objects.Xml");
|
||||
Slash.DirectorySeparatorChar + "objects.xml");
|
||||
scene.RequestModuleInterface<ITerrainModule>().LoadFromFile(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID +
|
||||
Slash.DirectorySeparatorChar + "heightmap.r32");
|
||||
m_log.Info("[SVNBACKUP]: Region load successful (" + scene.RegionInfo.RegionName + ").");
|
||||
|
|
|
@ -24,11 +24,10 @@
|
|||
<File name="./ScriptBase.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
|
||||
</Contents>
|
||||
<References>
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/Axiom.MathLib.dll" localcopy="False" />
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/libsecondlife.dll" localcopy="False" />
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/log4net.dll" localcopy="False" />
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" />
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" />
|
||||
<ProjectReference type="Assembly" refto="../../../../../../bin/OpenMetaverseTypes.dll" localcopy="False" />
|
||||
<ProjectReference type="Project" localcopy="False" refto="OpenSim" />
|
||||
<ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework" />
|
||||
<ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework.Communications" />
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSimExport
|
|||
XmlConfigurator.Configure();
|
||||
|
||||
OpenSimExport export = new OpenSimExport(InitConfig(args));
|
||||
RegionInfo reg = new RegionInfo("Sara Jane", "Regions/1000-1000.Xml",false);
|
||||
RegionInfo reg = new RegionInfo("Sara Jane", "Regions/1000-1000.xml",false);
|
||||
|
||||
Console.WriteLine("This application does nothing useful yet: " + reg.RegionID);
|
||||
foreach (SceneObjectGroup group in export.sman.DataStore.LoadObjects(reg.RegionID))
|
||||
|
|
Loading…
Reference in New Issue