diff options
author | Justin Clarke Casey | 2007-12-31 23:20:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-31 23:20:49 +0000 |
commit | b8975ecbd9510bd8e766cb4ca06c5a70110187cd (patch) | |
tree | 7489daa7abfb2709f89f519a14dd15ce6e10bb9a /bin/inventory | |
parent | * Added database and UserManagerBase glue for FriendsList management (diff) | |
download | opensim-SC_OLD-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.zip opensim-SC_OLD-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.gz opensim-SC_OLD-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.bz2 opensim-SC_OLD-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.xz |
Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory
and linked in by an entry to inventory/Libraries.xml
Diffstat (limited to '')
-rw-r--r-- | bin/inventory/Libraries.xml | 17 | ||||
-rw-r--r-- | bin/inventory/README.txt | 27 |
2 files changed, 34 insertions, 10 deletions
diff --git a/bin/inventory/Libraries.xml b/bin/inventory/Libraries.xml new file mode 100644 index 0000000..09270b5 --- /dev/null +++ b/bin/inventory/Libraries.xml | |||
@@ -0,0 +1,17 @@ | |||
1 | <Nini> | ||
2 | <Section Name="OpenSim Standard Library"> | ||
3 | <Key Name="foldersFile" Value="OpenSimLibrary/OpenSimLibraryFolders.xml"/> | ||
4 | <Key Name="itemsFile" Value="OpenSimLibrary/OpenSimLibrary.xml"/> | ||
5 | </Section> | ||
6 | <!-- Additional libraries can be added as shown below. These folders and items can appear underneath | ||
7 | the hardcoded root library folder ("OpenSim Library") | ||
8 | |||
9 | You can also add folders and items to the folders of libraries defined earlier on in this file --> | ||
10 | |||
11 | <!-- | ||
12 | <Section Name="My Site Library"> | ||
13 | <Key Name="foldersFile" Value="MySiteLibrary/MySiteLibraryFolders.xml"/> | ||
14 | <Key Name="itemsFile" Value="MySiteLibrary/MySiteLibraryItems.xml"/> | ||
15 | </Section> | ||
16 | --> | ||
17 | </Nini> | ||
diff --git a/bin/inventory/README.txt b/bin/inventory/README.txt index f32f1aa..ecd81d1 100644 --- a/bin/inventory/README.txt +++ b/bin/inventory/README.txt | |||
@@ -1,14 +1,21 @@ | |||
1 | README | 1 | README |
2 | 2 | ||
3 | The standard common inventory library is configured here. You can add new inventory | 3 | Folders and items which will appear in the standard common library for all |
4 | folders to the standard library by editing OpenSimLibary/OpenSimLibraryFolders.xml | 4 | avatars can be configured here. The root folder (currently called OpenSim |
5 | You can also add new inventory items to OpenSimLibrary/OpenSimLibrary.xml, | 5 | Library) is hardcoded, but you can add your own configuration of folders and |
6 | as long as they have a corresponding asset entry in bin/OpenSimAssetSet.xml. | 6 | items directly beneath this, in addition to (or instead of) the contents of the |
7 | 7 | default OpenSim library. | |
8 | The same set of folders and items must be present in the configuration of both | 8 | |
9 | the grid servers and all the regions. The reasons for this are historical - | 9 | To add a new library, edit Libraries.xml. The entry in here needs to point to |
10 | this restriction will probably be lifted in the future, at which point the | 10 | two further xml files, one which details your library inventory folders and another |
11 | inventory items and folders will only need to be configured on the grid inventory | 11 | which details your library inventory items. Each inventory item will need to be |
12 | server (assuming you are running in grid mode rather than standalone) | 12 | associated with an asset. Assets are configured separately in the bin/assets |
13 | directory. | ||
14 | |||
15 | If you are running in grid mode, any library you add must be present in both | ||
16 | your grid servers installation and in | ||
17 | every region installation, otherwise library items will fail in the regions | ||
18 | where the inventory configuration is not present. The reasons for this are historical | ||
19 | and will probably be lifted in a future revision. | ||
13 | 20 | ||
14 | Files in the attic directory are currently unused. | 21 | Files in the attic directory are currently unused. |