I actually did try building it yesterday and today(after getting the
latest from svn).
According to the build instructions on the wiki, I am able to run 'ant'
in the gentool directory without any errors. When I run NAnt in the
client-010 directory, I get a number of errors (I have .NET 3.5
installed):
------------------------------------------------------------------------
----------------
NAnt 0.86 (Build 0.86.3152.0; nightly; 8/18/2008)
Copyright (C) 2001-2008 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///c:/proj/qpid_src/dotnet/client-010/default.build
Target framework: Microsoft .NET Framework 3.5
Target(s) specified: build
init:
debug:
svnversion:
[exec] 720507M
[delete] Deleting file
c:\proj\qpid_src\dotnet\client-010\svnversion_tmp.txt.
[script] Scanning assembly "8rgsua4m" for extensions.
setversion:
[echo] build.svnversion = 720507M
BUILD FAILED
c:\proj\qpid_src\dotnet\client-010\default.build(106,18):
Compilation failed:
c:\Documents and Settings\schaudhary\Local
Settings\Temp\jhbep7ew.0.cs(37,36) :
error CS0103: The name 'Regex' does not exist in the current context
c:\Documents and Settings\schaudhary\Local
Settings\Temp\jhbep7ew.0.cs(42,36) :
error CS0103: The name 'Regex' does not exist in the current context
c:\Documents and Settings\schaudhary\Local
Settings\Temp\jhbep7ew.0.cs(46,36) :
error CS0103: The name 'Regex' does not exist in the current context
c:\Documents and Settings\schaudhary\Local
Settings\Temp\jhbep7ew.0.cs(54,36) :
error CS0103: The name 'Regex' does not exist in the current context
//----------------------------------------------------------------------
--------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be
lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------------------------------------
--------
using NAnt.Core;
using NAnt.Core.Attributes;
using System;
using System.Collections;
using System.IO;
using System.Text;
[FunctionSet("script", "script")]
public class nant8d707844702342c993343967344c6570 :
NAnt.Core.FunctionSetBase {
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();
}
public nant8d707844702342c993343967344c6570(NAnt.Core.Project
project, NAnt.Core.PropertyDictionary propDict) :
base(project, propDict) {
}
}
Total time: 21.8 seconds.
------------------------------------------------------------------------
-----------------------------------
-----Original Message-----
From: Steve Huston [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 7:06 AM
To: [email protected]
Subject: RE: C# client for 0-10?
And there aren't prebuilt binaries available for the alpha/beta as far
as I know, so give the source build a try and please let us know what
trouble you run into - it may help get things worked out before the
release.
-Steve
> The alpha is up - Rafi posted the link to our qpid-dev mailing list:
>
> I've created an M4-alpha release from svn revision 714267.
> You can find it
> here:
> http://people.apache.org/~rhs/qpid-incubating-M4-alpha/
>
> He's planning the beta for today/tomorrow afaik.
>
> Regards,
> Marnie
>
> On Tue, Nov 25, 2008 at 2:34 AM, Shahbaz Chaudhary <
> [EMAIL PROTECTED]> wrote:
>
> > According to the wiki
> (http://cwiki.apache.org/qpid/download.html), M4
> > is supposed to be released very soon and that Alpha release
> should have
> > been released already.
> >
> > Where can I find the dotnet release? Will it work with 0-10?
> >
> > I have been working with Arnaud's code from svn, but I'm
> having a little
> > trouble building the source from scratch again and I'd
> rather download a
> > pre-built binary any way.
> >
> > Thanks