This cleans up versioning. Specifically:

- It establishes 4 digits for opensim versions
- It uses the same number between opensim releases and mono addins versions

It also eliminates the last addin.xml files that were still there, for consistency.
sedebug
Diva Canto 2014-12-30 12:53:31 -08:00
parent 2506728e35
commit 7466ef0525
21 changed files with 37 additions and 53 deletions

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.Groups", "0.1")] [assembly: Addin("OpenSim.Groups", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.OfflineIM", "0.1")] [assembly: Addin("OpenSim.OfflineIM", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -65,5 +65,5 @@ using Mono.Addins;
[assembly : AssemblyVersion("0.8.1.*")] [assembly : AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.ApplicationPlugins.LoadRegions", "0.1")] [assembly: Addin("OpenSim.ApplicationPlugins.LoadRegions", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim", "0.8.1")] [assembly: AddinDependency("OpenSim", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.ApplicationPlugins.RegionModulesController", "0.1")] [assembly: Addin("OpenSim.ApplicationPlugins.RegionModulesController", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim", "0.8.1")] [assembly: AddinDependency("OpenSim", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.ApplicationPlugins.RemoteController", "0.1")] [assembly: Addin("OpenSim.ApplicationPlugins.RemoteController", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim", "0.8.1")] [assembly: AddinDependency("OpenSim", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -29,7 +29,7 @@ namespace OpenSim
{ {
public class VersionInfo public class VersionInfo
{ {
private const string VERSION_NUMBER = "0.8.1"; public const string VERSION_NUMBER = "0.8.1.0";
private const Flavour VERSION_FLAVOUR = Flavour.Dev; private const Flavour VERSION_FLAVOUR = Flavour.Dev;
public enum Flavour public enum Flavour

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: AddinRoot("OpenSim", "0.8.1")] [assembly: AddinRoot("OpenSim", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: ImportAddinAssembly("Opensim.Framework.dll")] [assembly: ImportAddinAssembly("Opensim.Framework.dll")]

View File

@ -40,8 +40,8 @@ using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
using Caps = OpenSim.Framework.Capabilities.Caps; using Caps = OpenSim.Framework.Capabilities.Caps;
[assembly: Addin("LindenCaps", "0.1")] [assembly: Addin("LindenCaps", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]
namespace OpenSim.Region.ClientStack.Linden namespace OpenSim.Region.ClientStack.Linden
{ {

View File

@ -33,6 +33,6 @@ using Mono.Addins;
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.Region.CoreModules", "0.1")] [assembly: Addin("OpenSim.Region.CoreModules", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -42,8 +42,8 @@ using OpenSim.Region.DataSnapshot.Interfaces;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
[assembly: Addin("DataSnapshot", "0.1")] [assembly: Addin("DataSnapshot", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]
namespace OpenSim.Region.DataSnapshot namespace OpenSim.Region.DataSnapshot
{ {

View File

@ -32,5 +32,5 @@ using Mono.Addins;
// Revision // Revision
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: AddinRoot("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinRoot("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -33,5 +33,5 @@ using Mono.Addins;
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.Region.OptionalModules", "0.1")] [assembly: Addin("OpenSim.Region.OptionalModules", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -1,6 +1,7 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using Mono.Addins;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
@ -31,3 +32,5 @@ using System.Runtime.InteropServices;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.RegionModules.RegionCombinerModule", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -31,9 +31,11 @@ using OpenMetaverse;
using OpenSim.Framework; using OpenSim.Framework;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
using Mono.Addins;
namespace OpenSim.Region.RegionCombinerModule namespace OpenSim.Region.RegionCombinerModule
{ {
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "RegionCombinerModule")]
public class RegionCombinerPermissionModule public class RegionCombinerPermissionModule
{ {
private Scene m_rootScene; private Scene m_rootScene;

View File

@ -1,14 +0,0 @@
<Addin id="OpenSim.RegionModules.RegionCombinerModule" version="0.3">
<Runtime>
<Import assembly="OpenSim.Region.RegionCombinerModule.dll"/>
</Runtime>
<Dependencies>
<Addin id="OpenSim" version="0.8.1" />
</Dependencies>
<Extension path = "/OpenSim/RegionModules">
<RegionModule id="RegionCombinerModule" type="OpenSim.Region.RegionCombinerModule.RegionCombinerModule" />
</Extension>
</Addin>

View File

@ -1,6 +1,7 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using Mono.Addins;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
@ -31,3 +32,5 @@ using System.Runtime.InteropServices;
// //
[assembly: AssemblyVersion("0.8.1.*")] [assembly: AssemblyVersion("0.8.1.*")]
[assembly: Addin("OpenSim.Region.ScriptEngine.XEngine", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]

View File

@ -1,13 +0,0 @@
<Addin id="OpenSim.Region.ScriptEngine.XEngine" version="0.2">
<Runtime>
<Import assembly="OpenSim.Region.ScriptEngine.XEngine.dll"/>
</Runtime>
<Dependencies>
<Addin id="OpenSim" version="0.8.1" />
</Dependencies>
<Extension path = "/OpenSim/RegionModules">
<RegionModule id="XEngine" type="OpenSim.Region.ScriptEngine.XEngine.XEngine" />
</Extension>
</Addin>

View File

@ -42,6 +42,7 @@ using OpenMetaverse.StructuredData;
using log4net; using log4net;
using Nini.Config; using Nini.Config;
using Amib.Threading; using Amib.Threading;
using Mono.Addins;
using OpenSim.Framework; using OpenSim.Framework;
using OpenSim.Framework.Console; using OpenSim.Framework.Console;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
@ -60,6 +61,7 @@ using ScriptCompileQueue = OpenSim.Framework.LocklessQueue<object[]>;
namespace OpenSim.Region.ScriptEngine.XEngine namespace OpenSim.Region.ScriptEngine.XEngine
{ {
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "XEngine")]
public class XEngine : INonSharedRegionModule, IScriptModule, IScriptEngine public class XEngine : INonSharedRegionModule, IScriptModule, IScriptEngine
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

View File

@ -50,8 +50,8 @@ using Caps = OpenSim.Framework.Capabilities.Caps;
using OSD = OpenMetaverse.StructuredData.OSD; using OSD = OpenMetaverse.StructuredData.OSD;
using OSDMap = OpenMetaverse.StructuredData.OSDMap; using OSDMap = OpenMetaverse.StructuredData.OSDMap;
[assembly: Addin("WebStats", "1.0")] [assembly: Addin("WebStats", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]
namespace OpenSim.Region.UserStatistics namespace OpenSim.Region.UserStatistics
{ {

View File

@ -39,8 +39,8 @@ using OpenSim.Services.Interfaces;
using OpenMetaverse; using OpenMetaverse;
using OpenMetaverse.StructuredData; using OpenMetaverse.StructuredData;
[assembly: Addin("SimianGrid", "1.0")] [assembly: Addin("SimianGrid", OpenSim.VersionInfo.VERSION_NUMBER)]
[assembly: AddinDependency("OpenSim.Region.Framework", "0.8.1")] [assembly: AddinDependency("OpenSim.Region.Framework", OpenSim.VersionInfo.VERSION_NUMBER)]
namespace OpenSim.Services.Connectors.SimianGrid namespace OpenSim.Services.Connectors.SimianGrid
{ {

View File

@ -2355,6 +2355,7 @@
<Reference name="SmartThreadPool"/> <Reference name="SmartThreadPool"/>
<Reference name="Nini" path="../../../../bin/"/> <Reference name="Nini" path="../../../../bin/"/>
<Reference name="log4net" path="../../../../bin/"/> <Reference name="log4net" path="../../../../bin/"/>
<Reference name="Mono.Addins" path="../../../../bin/"/>
<Files> <Files>
<Match buildAction="EmbeddedResource" path="Resources" pattern="*.addin.xml" recurse="true"/> <Match buildAction="EmbeddedResource" path="Resources" pattern="*.addin.xml" recurse="true"/>