diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2008-09-08 16:09:49 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2008-09-08 16:09:49 +0000 |
| commit | 763b1172569f9d9f10ea6f1cbe4d519deee61ea6 (patch) | |
| tree | 6d5e3be374032a24c0acd04bdf05ea788557816a | |
| parent | 9cd797e88c964f787c20cd9bab9ceafc31614a52 (diff) | |
| download | qpid-python-763b1172569f9d9f10ea6f1cbe4d519deee61ea6.tar.gz | |
Qpid-1277: added nant support
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693146 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | dotnet/client-010/README.txt | 64 | ||||
| -rw-r--r-- | dotnet/client-010/client/Properties/AssemblyInfo.cs | 8 | ||||
| -rw-r--r-- | dotnet/client-010/client/client/Client.cs | 1 | ||||
| -rw-r--r-- | dotnet/client-010/client/default.build | 25 | ||||
| -rw-r--r-- | dotnet/client-010/client/transport/Binding.cs | 2 | ||||
| -rw-r--r-- | dotnet/client-010/client/transport/Method.cs | 2 | ||||
| -rw-r--r-- | dotnet/client-010/client/transport/Struct.cs | 2 | ||||
| -rw-r--r-- | dotnet/client-010/client/transport/codec/AbstractEncoder.cs | 13 | ||||
| -rw-r--r-- | dotnet/client-010/default.build | 201 | ||||
| -rw-r--r-- | dotnet/client-010/demo/Demo.csproj | 6 | ||||
| -rw-r--r-- | dotnet/client-010/demo/Form1.Designer.cs | 39 | ||||
| -rw-r--r-- | dotnet/client-010/demo/Form1.cs | 18 | ||||
| -rw-r--r-- | dotnet/client-010/demo/Program.cs | 4 | ||||
| -rw-r--r-- | dotnet/client-010/demo/Properties/AssemblyInfo.cs | 8 | ||||
| -rw-r--r-- | dotnet/client-010/demo/default.build | 26 | ||||
| -rw-r--r-- | dotnet/client-010/test/Properties/AssemblyInfo.cs | 8 | ||||
| -rw-r--r-- | dotnet/client-010/test/default.build | 34 |
17 files changed, 373 insertions, 88 deletions
diff --git a/dotnet/client-010/README.txt b/dotnet/client-010/README.txt new file mode 100644 index 0000000000..bffa156df5 --- /dev/null +++ b/dotnet/client-010/README.txt @@ -0,0 +1,64 @@ +Info
+====
+
+AMQP version currently 0.10
+
+
+Setup
+=====
+
+Install:
+ Microsoft Visual Studio 2005 (VS2005)
+ NAnt 0.85 - only required for builds outside VS2005 (.net 1.1, .net 2.0, mono 2.0)
+ Ant 1.6.5
+ Cygwin (or alternatively build via cmd but alter instructions below accordingly)
+
+Set up PATH to include Nant.exe:
+
+ $ PATH=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:$PATH
+
+Set up PATH to include ant:
+
+ $ PATH=$ANT_HOME/bin:$PATH
+
+
+Building
+========
+
+Generate code from <project home>/dotnet/client-010/gentool:
+
+ $ cd <project home>/dotnet/client-010/gentool
+ $ ant
+
+You can build from Visual Studio 2005 normally. Alternatively, you
+can build debug releases for any supported framework from the
+command line using Nant:
+
+To build .NET 2.0 executables (to bin/net-2.0):
+
+ $ cd <project home>/dotnet/client-010/
+ $ nant
+
+
+To build for Mono on Linux (to bin/mono-2.0):
+
+ $ cd <project home>/dotnet/client-010/
+ $ nant -t:mono-2.0
+
+Releasing
+=========
+
+For .NET 2.0
+
+ $ cd <project home>/dotnet/client-010/
+ $ nant release-pkg
+
+Generates ./bin/net-2.0/release/Qpid.NET-net-2.0-yyyyMMdd.zip
+
+For Mono
+
+ $ cd <project home>/dotnet/client-010/
+ $ nant -t:mono-2.0 release-pkg
+
+Generates ./bin/mono-2.0/release/Qpid.NET-mono-2.0-yyyyMMdd.zip
+
diff --git a/dotnet/client-010/client/Properties/AssemblyInfo.cs b/dotnet/client-010/client/Properties/AssemblyInfo.cs index e1804b779a..96a79040af 100644 --- a/dotnet/client-010/client/Properties/AssemblyInfo.cs +++ b/dotnet/client-010/client/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using System.Reflection;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Qpid Client")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyDescription("Built from svn revision number: ")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Qpid Client")]
-[assembly: AssemblyCopyright("Copyright © Apache Software Foundation 2008")]
+[assembly: AssemblyCopyright("Apache Software Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices; //
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/dotnet/client-010/client/client/Client.cs b/dotnet/client-010/client/client/Client.cs index 646192c25d..6759c6dbdc 100644 --- a/dotnet/client-010/client/client/Client.cs +++ b/dotnet/client-010/client/client/Client.cs @@ -28,7 +28,6 @@ namespace org.apache.qpid.client public class Client : ClientInterface
{
private Connection _conn;
- private ClientSession _session;
private static readonly Logger _log = Logger.get(typeof (Client));
private const long timeout = 60000;
private bool _closed;
diff --git a/dotnet/client-010/client/default.build b/dotnet/client-010/client/default.build new file mode 100644 index 0000000000..16b1532af9 --- /dev/null +++ b/dotnet/client-010/client/default.build @@ -0,0 +1,25 @@ +<?xml version="1.0"?>
+<project name="qpid.client" default="build">
+ <!--
+ Properties that come from master build file
+ - build.dir: root directory for build
+ - build.debug: true if building debug release
+ - build.defines: variables to define during build
+ -->
+
+ <target name="build">
+ <csc target="library"
+ define="${build.defines}"
+ debug="${build.debug}"
+ output="${build.dir}/${project::get-name()}.dll">
+
+ <sources>
+ <include name="**/*.cs" />
+ </sources>
+ <references>
+ <include name="${build.dir}/log4net.dll" />
+ </references>
+ </csc>
+ </target>
+</project>
+
diff --git a/dotnet/client-010/client/transport/Binding.cs b/dotnet/client-010/client/transport/Binding.cs index 25884fc772..e07e85990d 100644 --- a/dotnet/client-010/client/transport/Binding.cs +++ b/dotnet/client-010/client/transport/Binding.cs @@ -29,6 +29,6 @@ namespace org.apache.qpid.transport {
E endpoint(Sender<T> sender);
- Receiver<T> receiver<T>(E endpoint) where T : EventArgs;
+ Receiver<R> receiver<R>(E endpoint) where R : EventArgs;
}
}
\ No newline at end of file diff --git a/dotnet/client-010/client/transport/Method.cs b/dotnet/client-010/client/transport/Method.cs index 0f9a84d778..c15343ba73 100644 --- a/dotnet/client-010/client/transport/Method.cs +++ b/dotnet/client-010/client/transport/Method.cs @@ -30,7 +30,7 @@ namespace org.apache.qpid.transport /// </summary>
public abstract class Method : Struct, ProtocolEvent
{
- public static Method create(int type)
+ public new static Method create(int type)
{
return (Method) StructFactory.createInstruction(type);
}
diff --git a/dotnet/client-010/client/transport/Struct.cs b/dotnet/client-010/client/transport/Struct.cs index 718dcbc978..fead22268b 100644 --- a/dotnet/client-010/client/transport/Struct.cs +++ b/dotnet/client-010/client/transport/Struct.cs @@ -32,7 +32,7 @@ namespace org.apache.qpid.transport public abstract class Struct : Encodable
{
- public static Struct create(int type)
+ public static Struct create(int type)
{
return StructFactory.create(type);
}
diff --git a/dotnet/client-010/client/transport/codec/AbstractEncoder.cs b/dotnet/client-010/client/transport/codec/AbstractEncoder.cs index a34bd43331..f70eb17a55 100644 --- a/dotnet/client-010/client/transport/codec/AbstractEncoder.cs +++ b/dotnet/client-010/client/transport/codec/AbstractEncoder.cs @@ -281,7 +281,7 @@ namespace org.apache.qpid.transport.codec Type klass = value.GetType();
Code type = resolve(klass);
- if (type == null)
+ if (type == Code.VOID)
{
throw new Exception
("unable to resolve type: " + klass + ", " + value);
@@ -294,17 +294,18 @@ namespace org.apache.qpid.transport.codec private static Code resolve(Type klass)
{
- Code type = ENCODINGS[klass];
- if (type != null)
+ Code type;
+ if(ENCODINGS.ContainsKey(klass))
{
- return type;
+ return ENCODINGS[klass];
}
+
Type sup = klass.BaseType;
if (sup != null)
{
type = resolve(sup);
- if (type != null)
+ if (type != Code.VOID)
{
return type;
}
@@ -312,7 +313,7 @@ namespace org.apache.qpid.transport.codec foreach (Type iface in klass.GetInterfaces())
{
type = resolve(iface);
- if (type != null)
+ if (type != Code.VOID)
{
return type;
}
diff --git a/dotnet/client-010/default.build b/dotnet/client-010/default.build new file mode 100644 index 0000000000..095b6de2e9 --- /dev/null +++ b/dotnet/client-010/default.build @@ -0,0 +1,201 @@ +<?xml version="1.0"?>
+<project name="Qpid.NET" default="build">
+
+ <!-- Determines the formatter to use to format output of test results. -->
+ <property name="nant.formatter" value="Plain" />
+
+ <!-- Determines whether a 'debug' or 'release' build is to be done. Defaults to 'debug' -->
+ <property name="build.config" value="debug" />
+
+ <!-- Sets build properties consistently accross all assemblies in the project. -->
+ <property name="build.version.major" value="0"/>
+ <property name="build.version.minor" value="10"/>
+ <property name="build.version.build" value="0"/>
+ <property name="build.version.revision" value="0"/>
+ <property name="build.company" value="Apache Software Foundation"/>
+ <property name="build.copyright" value="Apache Software Foundation"/>
+ <property name="build.description" value="Built from svn revision number: "/>
+
+ <!-- Fileset with build files for each 'core' assembly. -->
+ <fileset id="src.builds">
+ <include name="client/default.build" />
+ <include name="demo/default.build" />
+ </fileset>
+
+ <!-- Fileset with build files for 'integration' test assemblies. -->
+ <fileset id="tests.builds">
+ <include name="test/default.build" />
+ </fileset>
+
+ <!-- Prepare environment for a debug build. -->
+ <target name="debug">
+ <property name="build.debug" value="true" />
+ <property name="build.defines" value="DEBUG;TRACE"/>
+ </target>
+
+ <!-- Prepare environment for a release build. -->
+ <target name="release">
+ <property name="build.debug" value="false" />
+ <property name="build.defines" value=""/>
+ </target>
+
+ <!-- Prepare environment for build. -->
+ <target name="init">
+ <property name="base.dir" value="${project::get-base-directory()}" />
+ <property name="build.dir" value="${base.dir}/bin/${framework::get-target-framework()}/${build.config}" />
+ <call target="${build.config}" />
+ </target>
+
+ <!-- Cleans up the build output directory. -->
+ <target name="clean" depends="init">
+ <delete dir="${build.dir}" failonerror="false" />
+ </target>
+
+ <!-- Runs 'svnversion' to get the repository revision into the build property 'build.svnversion'. -->
+ <target name="svnversion" description="Runs svnversion to get the current repository version into a build script property.">
+ <exec program="svnversion" output="svnversion_tmp.txt">
+ <arg value="-n"/>
+ </exec>
+
+ <loadfile file="svnversion_tmp.txt" property="build.svnversion"/>
+ <delete file="svnversion_tmp.txt"/>
+
+ <!-- For some competely retarted reason the '-n' parameter to svnversion doesn't really work under windows...
+ Here is some code to strip the unwanted newlines. -->
+ <script language="C#">
+ <code><![CDATA[
+ public static void ScriptMain(Project project)
+ {
+ project.Properties["build.svnversion"] = project.Properties["build.svnversion"].Trim("\n\r".ToCharArray());
+ }
+ ]]>
+ </code>
+ </script>
+
+ </target>
+
+ <!-- Performs a regex find-and-replace on assembly info files, substituting fields defined as build properties. -->
+ <target name="setversion" description="Stamp the version info onto assemblyinfo.cs files" depends="svnversion">
+
+ <echo>build.svnversion = ${build.svnversion}</echo>
+
+ <foreach item="File" property="filename">
+ <in>
+ <items basedir=".">
+ <include name="**\AssemblyInfo.cs"></include>
+ </items>
+ </in>
+ <do>
+ <script language="C#">
+ <code><![CDATA[
+ public static void ScriptMain(Project project)
+ {
+ // Read in the entire file to perform the substitution in.
+ StreamReader reader = new StreamReader(project.Properties["filename"]);
+ string contents = reader.ReadToEnd();
+ reader.Close();
+
+ // Substitute the version numbers.
+ string replacement = string.Format("[assembly: AssemblyVersion(\"{0}.{1}.{2}.{3}\")]",
+ project.Properties["build.version.major"],
+ project.Properties["build.version.minor"],
+ project.Properties["build.version.build"],
+ project.Properties["build.version.revision"]);
+ contents = Regex.Replace(contents, @"\[assembly: AssemblyVersion\("".*""\)\]", replacement);
+
+ // Substitute the company name and copyright.
+ replacement = string.Format("[assembly: AssemblyCompany(\"{0}\")]",
+ project.Properties["build.company"]);
+ contents = Regex.Replace(contents, @"\[assembly: AssemblyCompany\("".*""\)\]", replacement);
+
+ replacement = string.Format("[assembly: AssemblyCopyright(\"{0}\")]",
+ project.Properties["build.copyright"]);
+ contents = Regex.Replace(contents, @"\[assembly: AssemblyCopyright\("".*""\)\]", replacement);
+
+ // Update the description.
+ //replacement = string.Format("[assembly: AssemblyDescription(\"{0} {1}\")]",
+ // project.Properties["build.description"],
+ // project.Properties["build.svnversion"]);
+ replacement = string.Format("[assembly: AssemblyDescription(\"{0}\")]",
+ project.Properties["build.description"]);
+ contents = Regex.Replace(contents, @"\[assembly: AssemblyDescription\("".*""\)\]", replacement);
+
+ // Write out the file with the substituted version.
+ StreamWriter writer = new StreamWriter(project.Properties["filename"], false);
+ writer.Write(contents);
+ writer.Close();
+ }
+ ]]>
+ </code>
+ </script>
+ </do>
+ </foreach>
+ </target>
+
+ <!-- Do the build. -->
+ <target name="build" depends="init, setversion">
+ <echo message="Building all modules including tests."/>
+
+ <!-- Make sure output folder exists. -->
+ <mkdir dir="${build.dir}" />
+
+ <echo message="Output folder: ${build.dir}"/>
+
+ <!-- copy reference assemblies over to the output dir -->
+ <copy todir="${build.dir}" file="lib/log4net/log4net.dll"/>
+ <copy todir="${build.dir}" file="lib/nunit/nunit.framework.dll"/>
+
+ <!-- Compile assemblies. -->
+ <nant target="build">
+ <buildfiles refid="src.builds" />
+ </nant>
+
+ <!-- Compile test assemblies. -->
+ <nant target="build">
+ <buildfiles refid="tests.builds" />
+ </nant>
+
+ </target>
+
+ <!-- Runs all 'pure unit' tests. -->
+ <target name="test" depends="build">
+ <echo message="Running all pure unit tests."/>
+ <nant target="test">
+ <buildfiles refid="tests.builds" />
+ </nant>
+ </target>
+
+ <!-- Creates a release package. -->
+ <target name="release-pkg">
+ <echo message="Building and packaging a release."/>
+
+ <call target="clean"/>
+ <call target="build"/>
+
+ <property name="build.date" value="${datetime::now()}"/>
+
+ <zip zipfile="${build.dir}/Qpid.NET-${framework::get-target-framework()}-${datetime::get-year(build.date)}${datetime::get-month(build.date)}${datetime::get-day(build.date)}.zip">
+ <fileset basedir="${build.dir}">
+ <include name="**/*.*"/>
+ <exclude name="**/*.tests.*"/>
+ <exclude name="**/nunit.framework.dll"/>
+ <exclude name="**/*.exe"/>
+ </fileset>
+
+ <fileset basedir="${base.dir}/..">
+ <include name="LICENSE.txt"/>
+ <include name="NOTICE.txt"/>
+ <include name="RELEASE_NOTES.txt"/>
+ <include name="DISCLAIMER"/>
+ </fileset>
+
+
+ <fileset basedir="${base.dir}">
+ <include name="README.txt"/>
+ </fileset>
+ </zip>
+ </target>
+
+</project>
+
+
diff --git a/dotnet/client-010/demo/Demo.csproj b/dotnet/client-010/demo/Demo.csproj index 541ee246eb..13dacc01be 100644 --- a/dotnet/client-010/demo/Demo.csproj +++ b/dotnet/client-010/demo/Demo.csproj @@ -40,12 +40,6 @@ <Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Form1.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="Form1.Designer.cs">
- <DependentUpon>Form1.cs</DependentUpon>
- </Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
diff --git a/dotnet/client-010/demo/Form1.Designer.cs b/dotnet/client-010/demo/Form1.Designer.cs deleted file mode 100644 index c6c633a823..0000000000 --- a/dotnet/client-010/demo/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace demo
-{
- partial class Form1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Text = "Form1";
- }
-
- #endregion
- }
-}
-
diff --git a/dotnet/client-010/demo/Form1.cs b/dotnet/client-010/demo/Form1.cs deleted file mode 100644 index 68a240189e..0000000000 --- a/dotnet/client-010/demo/Form1.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace demo
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file diff --git a/dotnet/client-010/demo/Program.cs b/dotnet/client-010/demo/Program.cs index 62730eb9b0..429fe1bf69 100644 --- a/dotnet/client-010/demo/Program.cs +++ b/dotnet/client-010/demo/Program.cs @@ -15,9 +15,7 @@ namespace WindowsClient static void Main(string[] args)
{
XmlConfigurator.Configure(new FileInfo("..\\..\\log.xml"));
- // DOMConfigurator.Configure();
-
- Console.WriteLine("befing");
+ // DOMConfigurator.Configure()
Client client = new Client();
Console.WriteLine("Client created");
client.connect("192.168.1.14", 5673, "test", "guest", "guest");
diff --git a/dotnet/client-010/demo/Properties/AssemblyInfo.cs b/dotnet/client-010/demo/Properties/AssemblyInfo.cs index e677e91990..eab12ce3c7 100644 --- a/dotnet/client-010/demo/Properties/AssemblyInfo.cs +++ b/dotnet/client-010/demo/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using System.Reflection;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Qpid Demo")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyDescription("Built from svn revision number: ")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Qpid Demo")]
-[assembly: AssemblyCopyright("Copyright © Apache Software Foundation 2008")]
+[assembly: AssemblyCopyright("Apache Software Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number
// Revision
//
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/dotnet/client-010/demo/default.build b/dotnet/client-010/demo/default.build new file mode 100644 index 0000000000..01cad35665 --- /dev/null +++ b/dotnet/client-010/demo/default.build @@ -0,0 +1,26 @@ +<?xml version="1.0"?>
+<project name="qpid.client.demo" default="build">
+ <!--
+ Properties that come from master build file
+ - build.dir: root directory for build
+ - build.debug: true if building debug release
+ - build.defines: variables to define during build
+ -->
+
+ <target name="build">
+ <csc target="exe"
+ define="${build.defines}"
+ debug="${build.debug}"
+ output="${build.dir}/${project::get-name()}.exe">
+
+ <sources>
+ <include name="**/*.cs" />
+ </sources>
+ <references>
+ <include name="${build.dir}/log4net.dll" />
+ <include name="${build.dir}/qpid.client.dll" />
+ </references>
+ </csc>
+ </target>
+</project>
+
diff --git a/dotnet/client-010/test/Properties/AssemblyInfo.cs b/dotnet/client-010/test/Properties/AssemblyInfo.cs index 197c2aa080..7de372bb29 100644 --- a/dotnet/client-010/test/Properties/AssemblyInfo.cs +++ b/dotnet/client-010/test/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using System.Reflection;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Qpid Test")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyDescription("Built from svn revision number: ")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Apache Software Foundation")]
[assembly: AssemblyProduct("Qpid Test")]
-[assembly: AssemblyCopyright("Copyright © Apache Software Foundation 2008")]
+[assembly: AssemblyCopyright("Apache Software Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices; //
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/dotnet/client-010/test/default.build b/dotnet/client-010/test/default.build new file mode 100644 index 0000000000..76b1b3ea85 --- /dev/null +++ b/dotnet/client-010/test/default.build @@ -0,0 +1,34 @@ +<?xml version="1.0"?>
+<project name="qpid.client.tests" default="build">
+ <!--
+ Properties that come from master build file
+ - build.dir: root directory for build
+ - build.debug: true if building debug release
+ - build.defines: variables to define during build
+ -->
+
+ <target name="build">
+ <csc target="library"
+ define="${build.defines}"
+ debug="${build.debug}"
+ output="${build.dir}/${project::get-name()}.dll">
+
+ <sources>
+ <include name="**/*.cs" />
+ </sources>
+ <references>
+ <include name="${build.dir}/log4net.dll" />
+ <include name="${build.dir}/nunit.framework.dll" />
+ <include name="${build.dir}/qpid.client.dll" />
+ </references>
+ </csc>
+ </target>
+
+ <target name="test" depends="build">
+ <nunit2>
+ <formatter type="${nant.formatter}" usefile="false" />
+ <test assemblyname="${build.dir}/qpid.client.tests.dll" />
+ </nunit2>
+ </target>
+</project>
+
|
