Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
This commit is contained in:
Melanie Thielker
2008-09-06 14:58:23 +00:00
parent f342bd1e96
commit 9e545c9984
28 changed files with 36 additions and 37 deletions

View File

@@ -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

View 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);

View File

@@ -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>

View File

@@ -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