diff options
author | lbsa71 | 2007-03-16 15:19:32 +0000 |
---|---|---|
committer | lbsa71 | 2007-03-16 15:19:32 +0000 |
commit | c71cdbe46ea3bbd5a6e147d92ea9098f9c15ead5 (patch) | |
tree | e02c4f0da69bc98d7159e57f22ff7b36d8c31406 /src/OpenGrid.Framework | |
parent | (no commit message) (diff) | |
download | opensim-SC_OLD-c71cdbe46ea3bbd5a6e147d92ea9098f9c15ead5.zip opensim-SC_OLD-c71cdbe46ea3bbd5a6e147d92ea9098f9c15ead5.tar.gz opensim-SC_OLD-c71cdbe46ea3bbd5a6e147d92ea9098f9c15ead5.tar.bz2 opensim-SC_OLD-c71cdbe46ea3bbd5a6e147d92ea9098f9c15ead5.tar.xz |
Added Framework Project and Made buildfiles work on windows.
* added nogenvers target to opensim.build - sets version to 0.0.0.1
* extracted core_build target
* FIX : csc gets confused over System.Xml ref - should be System.Xml.dll as there is a System.Xml file in same dir.
* Added OpenGrid.Framework project for great justice.
* Added LoginService as base class for LoginServer (GF)
* FIX: Plugins default.build now creates target dir, otherwise it fails.
* Added VERSION file to source control - it really should be circumvented as well.
Diffstat (limited to 'src/OpenGrid.Framework')
-rw-r--r-- | src/OpenGrid.Framework/AssemblyInfo.cs | 21 | ||||
-rw-r--r-- | src/OpenGrid.Framework/LoginService.cs | 15 | ||||
-rw-r--r-- | src/OpenGrid.Framework/OpenGrid.Framework.csproj | 57 | ||||
-rw-r--r-- | src/OpenGrid.Framework/Properties/AssemblyInfo.cs | 35 | ||||
-rw-r--r-- | src/OpenGrid.Framework/default.build | 50 |
5 files changed, 178 insertions, 0 deletions
diff --git a/src/OpenGrid.Framework/AssemblyInfo.cs b/src/OpenGrid.Framework/AssemblyInfo.cs new file mode 100644 index 0000000..0ff408f --- /dev/null +++ b/src/OpenGrid.Framework/AssemblyInfo.cs | |||
@@ -0,0 +1,21 @@ | |||
1 | using System; | ||
2 | using System.Reflection; | ||
3 | using System.Runtime.InteropServices; | ||
4 | |||
5 | //------------------------------------------------------------------------------ | ||
6 | // <auto-generated> | ||
7 | // This code was generated by a tool. | ||
8 | // Runtime Version:2.0.50727.42 | ||
9 | // | ||
10 | // Changes to this file may cause incorrect behavior and will be lost if | ||
11 | // the code is regenerated. | ||
12 | // </auto-generated> | ||
13 | //------------------------------------------------------------------------------ | ||
14 | |||
15 | [assembly: ComVisibleAttribute(false)] | ||
16 | [assembly: CLSCompliantAttribute(false)] | ||
17 | [assembly: AssemblyVersionAttribute("0.0.0.1")] | ||
18 | [assembly: AssemblyTitleAttribute("opensim-gridinterfaces")] | ||
19 | [assembly: AssemblyDescriptionAttribute("Definitions for OGS interface")] | ||
20 | [assembly: AssemblyCopyrightAttribute("Copyright © OGS development team 2007")] | ||
21 | |||
diff --git a/src/OpenGrid.Framework/LoginService.cs b/src/OpenGrid.Framework/LoginService.cs new file mode 100644 index 0000000..d38c271 --- /dev/null +++ b/src/OpenGrid.Framework/LoginService.cs | |||
@@ -0,0 +1,15 @@ | |||
1 | using System; | ||
2 | using System.Collections; | ||
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | using Nwc.XmlRpc; | ||
6 | using OpenSim.GridServers; | ||
7 | using libsecondlife; | ||
8 | |||
9 | namespace OpenGrid.Framework | ||
10 | { | ||
11 | public abstract class LoginService | ||
12 | { | ||
13 | |||
14 | } | ||
15 | } | ||
diff --git a/src/OpenGrid.Framework/OpenGrid.Framework.csproj b/src/OpenGrid.Framework/OpenGrid.Framework.csproj new file mode 100644 index 0000000..efbbcfb --- /dev/null +++ b/src/OpenGrid.Framework/OpenGrid.Framework.csproj | |||
@@ -0,0 +1,57 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2 | <PropertyGroup> | ||
3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
5 | <ProductVersion>8.0.50727</ProductVersion> | ||
6 | <SchemaVersion>2.0</SchemaVersion> | ||
7 | <ProjectGuid>{407CE85B-628C-4788-9DBC-49BCEFC3A84F}</ProjectGuid> | ||
8 | <OutputType>Library</OutputType> | ||
9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
10 | <RootNamespace>OpenGrid.Framework</RootNamespace> | ||
11 | <AssemblyName>OpenGrid.Framework</AssemblyName> | ||
12 | </PropertyGroup> | ||
13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
14 | <DebugSymbols>true</DebugSymbols> | ||
15 | <DebugType>full</DebugType> | ||
16 | <Optimize>false</Optimize> | ||
17 | <OutputPath>bin\Debug\</OutputPath> | ||
18 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
19 | <ErrorReport>prompt</ErrorReport> | ||
20 | <WarningLevel>4</WarningLevel> | ||
21 | </PropertyGroup> | ||
22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
23 | <DebugType>pdbonly</DebugType> | ||
24 | <Optimize>true</Optimize> | ||
25 | <OutputPath>bin\Release\</OutputPath> | ||
26 | <DefineConstants>TRACE</DefineConstants> | ||
27 | <ErrorReport>prompt</ErrorReport> | ||
28 | <WarningLevel>4</WarningLevel> | ||
29 | </PropertyGroup> | ||
30 | <ItemGroup> | ||
31 | <Reference Include="libsecondlife, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
32 | <SpecificVersion>False</SpecificVersion> | ||
33 | <HintPath>..\..\bin\libsecondlife.dll</HintPath> | ||
34 | </Reference> | ||
35 | <Reference Include="System" /> | ||
36 | <Reference Include="System.Data" /> | ||
37 | <Reference Include="System.Xml" /> | ||
38 | </ItemGroup> | ||
39 | <ItemGroup> | ||
40 | <Compile Include="LoginService.cs" /> | ||
41 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
42 | </ItemGroup> | ||
43 | <ItemGroup> | ||
44 | <ProjectReference Include="..\GridInterfaces\GridInterfaces.csproj"> | ||
45 | <Project>{5DA3174D-42F9-416D-9F0B-AF41FA2BE2F9}</Project> | ||
46 | <Name>GridInterfaces</Name> | ||
47 | </ProjectReference> | ||
48 | </ItemGroup> | ||
49 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
50 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
51 | Other similar extension points exist, see Microsoft.Common.targets. | ||
52 | <Target Name="BeforeBuild"> | ||
53 | </Target> | ||
54 | <Target Name="AfterBuild"> | ||
55 | </Target> | ||
56 | --> | ||
57 | </Project> \ No newline at end of file | ||
diff --git a/src/OpenGrid.Framework/Properties/AssemblyInfo.cs b/src/OpenGrid.Framework/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..72e55b9 --- /dev/null +++ b/src/OpenGrid.Framework/Properties/AssemblyInfo.cs | |||
@@ -0,0 +1,35 @@ | |||
1 | using System.Reflection; | ||
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | ||
4 | |||
5 | // General Information about an assembly is controlled through the following | ||
6 | // set of attributes. Change these attribute values to modify the information | ||
7 | // associated with an assembly. | ||
8 | [assembly: AssemblyTitle("OpenGrid.Framework")] | ||
9 | [assembly: AssemblyDescription("")] | ||
10 | [assembly: AssemblyConfiguration("")] | ||
11 | [assembly: AssemblyCompany("Playahead AB")] | ||
12 | [assembly: AssemblyProduct("OpenGrid.Framework")] | ||
13 | [assembly: AssemblyCopyright("Copyright © Playahead AB 2007")] | ||
14 | [assembly: AssemblyTrademark("")] | ||
15 | [assembly: AssemblyCulture("")] | ||
16 | |||
17 | // Setting ComVisible to false makes the types in this assembly not visible | ||
18 | // to COM components. If you need to access a type in this assembly from | ||
19 | // COM, set the ComVisible attribute to true on that type. | ||
20 | [assembly: ComVisible(false)] | ||
21 | |||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
23 | [assembly: Guid("67d2b810-0969-4550-ab2b-d2f5ac191191")] | ||
24 | |||
25 | // Version information for an assembly consists of the following four values: | ||
26 | // | ||
27 | // Major Version | ||
28 | // Minor Version | ||
29 | // Build Number | ||
30 | // Revision | ||
31 | // | ||
32 | // You can specify all the values or you can default the Revision and Build Numbers | ||
33 | // by using the '*' as shown below: | ||
34 | [assembly: AssemblyVersion("1.0.0.0")] | ||
35 | [assembly: AssemblyFileVersion("1.0.0.0")] | ||
diff --git a/src/OpenGrid.Framework/default.build b/src/OpenGrid.Framework/default.build new file mode 100644 index 0000000..ee398a0 --- /dev/null +++ b/src/OpenGrid.Framework/default.build | |||
@@ -0,0 +1,50 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <project name="OpenGrid.Framework" default="build" basedir="."> | ||
3 | <description>nant buildfile for OpenGrid.Framework</description> | ||
4 | <property name="debug" value="true" overwrite="false" /> | ||
5 | <target name="clean" description="remove all generated files"> | ||
6 | <delete file="../../bin/OpenGrid.Framework.dll" failonerror="false" /> | ||
7 | </target> | ||
8 | |||
9 | <target name="svnupdate" description="updates to latest SVN"> | ||
10 | <exec program="svn"> | ||
11 | <arg value="update" /> | ||
12 | </exec> | ||
13 | </target> | ||
14 | |||
15 | <target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build"> | ||
16 | |||
17 | </target> | ||
18 | |||
19 | <target name="build" description="compiles the source code"> | ||
20 | |||
21 | <loadfile file="../../VERSION" property="svnver"/> | ||
22 | <asminfo output="AssemblyInfo.cs" language="CSharp"> | ||
23 | <imports> | ||
24 | <import namespace="System" /> | ||
25 | <import namespace="System.Reflection" /> | ||
26 | <import namespace="System.Runtime.InteropServices" /> | ||
27 | </imports> | ||
28 | <attributes> | ||
29 | <attribute type="ComVisibleAttribute" value="false" /> | ||
30 | <attribute type="CLSCompliantAttribute" value="false" /> | ||
31 | <attribute type="AssemblyVersionAttribute" value="${svnver}" /> | ||
32 | <attribute type="AssemblyTitleAttribute" value="opensim-gridinterfaces" /> | ||
33 | <attribute type="AssemblyDescriptionAttribute" value="Definitions for OGS interface" /> | ||
34 | <attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/> | ||
35 | </attributes> | ||
36 | </asminfo> | ||
37 | |||
38 | <csc target="library" output="../../bin/OpenGrid.Framework.dll" debug="${debug}" verbose="true" warninglevel="4"> | ||
39 | <references basedir="../../bin" failonempty="true"> | ||
40 | <include name="System.dll" /> | ||
41 | <include name="System.Xml.dll" /> | ||
42 | <include name="libsecondlife.dll" /> | ||
43 | <include name="GridInterfaces.dll" /> | ||
44 | </references> | ||
45 | <sources basedir="./"> | ||
46 | <include name="*.cs" /> | ||
47 | </sources> | ||
48 | </csc> | ||
49 | </target> | ||
50 | </project> | ||