From 7d04cf8d4ecf995fc1f7da277aae8b3d5c4f7948 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sun, 30 Dec 2007 19:05:11 +0000 Subject: [PATCH] Shift default OpenSim library into its own directory --- OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | 2 +- bin/inventory/{ => OpenSimLibrary}/OpenSimLibrary.xml | 0 bin/inventory/README.txt | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) rename bin/inventory/{ => OpenSimLibrary}/OpenSimLibrary.xml (100%) create mode 100644 bin/inventory/README.txt diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 7ff2c9713c..20ec58ad5a 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs @@ -64,7 +64,7 @@ namespace OpenSim.Framework.Communications.Cache CreateLibraryItems(); - string filePath = Path.Combine(Util.configDir(), "inventory/OpenSimLibrary.xml"); + string filePath = Path.Combine(Util.configDir(), "inventory/OpenSimLibrary/OpenSimLibrary.xml"); if (File.Exists(filePath)) { try diff --git a/bin/inventory/OpenSimLibrary.xml b/bin/inventory/OpenSimLibrary/OpenSimLibrary.xml similarity index 100% rename from bin/inventory/OpenSimLibrary.xml rename to bin/inventory/OpenSimLibrary/OpenSimLibrary.xml diff --git a/bin/inventory/README.txt b/bin/inventory/README.txt new file mode 100644 index 0000000000..003a18a913 --- /dev/null +++ b/bin/inventory/README.txt @@ -0,0 +1,6 @@ +README + +Inventory configuration is carried out here. Currently, you can add new items to OpenSimLibrary/OpenSimLibrary.xml, +as long as they have a corresponding asset entry in bin/OpenSimAssetSet.xml. + +Inventory_Default.xml and Inventory_Library.xml are unused at the moment.