aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorJustin Clarke Casey2007-12-31 23:20:49 +0000
committerJustin Clarke Casey2007-12-31 23:20:49 +0000
commitb8975ecbd9510bd8e766cb4ca06c5a70110187cd (patch)
tree7489daa7abfb2709f89f519a14dd15ce6e10bb9a /bin
parent* Added database and UserManagerBase glue for FriendsList management (diff)
downloadopensim-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 'bin')
-rw-r--r--bin/assets/AssetSets.xml11
-rw-r--r--bin/inventory/Libraries.xml17
-rw-r--r--bin/inventory/README.txt27
3 files changed, 42 insertions, 13 deletions
diff --git a/bin/assets/AssetSets.xml b/bin/assets/AssetSets.xml
index b827e59..c94cd59 100644
--- a/bin/assets/AssetSets.xml
+++ b/bin/assets/AssetSets.xml
@@ -1,13 +1,18 @@
1<Nini> 1<Nini>
2 <!-- You probably don't want to remove the OpenSim asset set 2 <!-- You probably don't want to remove the OpenSim asset set
3 since it contains various default assets which are currently hardcoded --> 3 since it contains various default assets which are currently hardcoded
4 However, you can remove the corresponding inventory library in bin/inventory if you wish
5 -->
6
4 <Section Name="OpenSim Asset Set"> 7 <Section Name="OpenSim Asset Set">
5 <Key Name="file" Value="OpenSimAssetSet/OpenSimAssetSet.xml"/> 8 <Key Name="file" Value="OpenSimAssetSet/OpenSimAssetSet.xml"/>
6 </Section> 9 </Section>
10
7 <!-- New asset sets can be added as shown below --> 11 <!-- New asset sets can be added as shown below -->
8 <!-- 12
13<!--
9 <Section Name="My Asset Set"> 14 <Section Name="My Asset Set">
10 <Key Name="file" Value="MyAssetSet/MyAssetSet.xml"/> 15 <Key Name="file" Value="MyAssetSet/MyAssetSet.xml"/>
11 </Section> 16 </Section>
12 --> 17-->
13</Nini> 18</Nini>
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 @@
1README 1README
2 2
3The standard common inventory library is configured here. You can add new inventory 3Folders and items which will appear in the standard common library for all
4folders to the standard library by editing OpenSimLibary/OpenSimLibraryFolders.xml 4avatars can be configured here. The root folder (currently called OpenSim
5You can also add new inventory items to OpenSimLibrary/OpenSimLibrary.xml, 5Library) is hardcoded, but you can add your own configuration of folders and
6as long as they have a corresponding asset entry in bin/OpenSimAssetSet.xml. 6items directly beneath this, in addition to (or instead of) the contents of the
7 7default OpenSim library.
8The same set of folders and items must be present in the configuration of both 8
9the grid servers and all the regions. The reasons for this are historical - 9To add a new library, edit Libraries.xml. The entry in here needs to point to
10this restriction will probably be lifted in the future, at which point the 10two further xml files, one which details your library inventory folders and another
11inventory items and folders will only need to be configured on the grid inventory 11which details your library inventory items. Each inventory item will need to be
12server (assuming you are running in grid mode rather than standalone) 12associated with an asset. Assets are configured separately in the bin/assets
13directory.
14
15If you are running in grid mode, any library you add must be present in both
16your grid servers installation and in
17every region installation, otherwise library items will fail in the regions
18where the inventory configuration is not present. The reasons for this are historical
19and will probably be lifted in a future revision.
13 20
14Files in the attic directory are currently unused. 21Files in the attic directory are currently unused.