diff --git a/.nant/local.include b/.nant/local.include
index 510bdc66dc..58d1ad1160 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -34,51 +34,55 @@
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
index 4ee90e2aa3..f73a7e3844 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
@@ -199,6 +199,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
InventoryFolderImpl inventoryFolder = null;
InventoryItemBase inventoryItem = null;
+ /*
if (!m_userInfo.HasReceivedInventory)
{
// If the region server has access to the user admin service (by which users are created),
@@ -220,13 +221,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
m_userInfo.FetchInventory();
}
}
+ */
bool foundStar = false;
// Eliminate double slashes and any leading / on the path. This might be better done within InventoryFolderImpl
// itself (possibly at a small loss in efficiency).
string[] components
- = m_invPath.Split(new string[] { InventoryFolderImpl.PATH_DELIMITER }, StringSplitOptions.RemoveEmptyEntries);
+ = m_invPath.Split(
+ new string[] { InventoryFolderImpl.PATH_DELIMITER }, StringSplitOptions.RemoveEmptyEntries);
int maxComponentIndex = components.Length - 1;
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs
index d3ba5fe11f..c495e022ab 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs
@@ -64,6 +64,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
///
private Dictionary m_scenes = new Dictionary();
private Scene m_aScene;
+
///
/// The comms manager we will use for all comms requests
///
@@ -110,8 +111,30 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
InventoryArchiveSaved handlerInventoryArchiveSaved = OnInventoryArchiveSaved;
if (handlerInventoryArchiveSaved != null)
handlerInventoryArchiveSaved(succeeded, userInfo, invPath, saveStream, reportedException);
+ }
+
+ public void ArchiveInventory(string firstName, string lastName, string invPath, Stream saveStream)
+ {
+ if (m_scenes.Count > 0)
+ {
+ CachedUserInfo userInfo = GetUserInfo(firstName, lastName);
+
+ if (userInfo != null)
+ new InventoryArchiveWriteRequest(this, userInfo, invPath, saveStream).Execute();
+ }
}
-
+
+ public void ArchiveInventory(string firstName, string lastName, string invPath, string savePath)
+ {
+ if (m_scenes.Count > 0)
+ {
+ CachedUserInfo userInfo = GetUserInfo(firstName, lastName);
+
+ if (userInfo != null)
+ new InventoryArchiveWriteRequest(this, userInfo, invPath, savePath).Execute();
+ }
+ }
+
public void DearchiveInventory(string firstName, string lastName, string invPath, Stream loadStream)
{
if (m_scenes.Count > 0)
@@ -125,18 +148,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
UpdateClientWithLoadedNodes(userInfo, request.Execute());
}
}
- }
-
- public void ArchiveInventory(string firstName, string lastName, string invPath, Stream saveStream)
- {
- if (m_scenes.Count > 0)
- {
- CachedUserInfo userInfo = GetUserInfo(firstName, lastName);
-
- if (userInfo != null)
- new InventoryArchiveWriteRequest(this, userInfo, invPath, saveStream).Execute();
- }
- }
+ }
public void DearchiveInventory(string firstName, string lastName, string invPath, string loadPath)
{
@@ -151,18 +163,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
UpdateClientWithLoadedNodes(userInfo, request.Execute());
}
}
- }
-
- public void ArchiveInventory(string firstName, string lastName, string invPath, string savePath)
- {
- if (m_scenes.Count > 0)
- {
- CachedUserInfo userInfo = GetUserInfo(firstName, lastName);
-
- if (userInfo != null)
- new InventoryArchiveWriteRequest(this, userInfo, invPath, savePath).Execute();
- }
- }
+ }
///
/// Load inventory from an inventory file archive
diff --git a/bin/OpenSim.ConsoleClient.ini.example b/bin/OpenSim.ConsoleClient.ini.example
index beea7d875b..5223d1d262 100644
--- a/bin/OpenSim.ConsoleClient.ini.example
+++ b/bin/OpenSim.ConsoleClient.ini.example
@@ -1 +1,14 @@
[Startup]
+ ; Set here or use the -user command-line switch
+ ;user = Test
+
+ ; Set here or use the -host command-line switch
+ ;host = localhost
+
+ ; Set here or use the -port command-line switch
+ ;port = 8003
+
+ ; Set here or use the -pass command-line switch
+ ; Please be aware that this is not secure since the password is in the clear
+ ; we recommend the use of -pass wherever possible
+ ;pass = secret
diff --git a/nant-color b/nant-color
index c4cebb043d..b36898681b 100755
--- a/nant-color
+++ b/nant-color
@@ -1,5 +1,4 @@
-#!/usr/bin/ruby
-
+#!/usr/bin/env ruby
def main
IO.popen("nant #{ARGV.join(' ')}") { |pipe|