Hi,

I have just tried to build Rhino against the Nhibernate 2.1-GA release and
the build is failing with the following exception:

[csc]
c:\Users\paul.cowan\.horn\frameworks\rhino.tools\rhino\Working\commons\Rhino.Commons.NHibernate\NHibernate\XmlIn.cs(180,20):The
best overloaded method match for
'NHibernate.Type.CustomType.CustomType(System.Type,
System.Collections.Generic.IDictionary<string,string>)' has some invalid
arguments

[csc]
c:\Users\paul.cowan\.horn\frameworks\rhino.tools\rhino\Working\commons\Rhino.Commons.NHibernate\NHibernate\XmlIn.cs(181,5):error
CS1503: Argument '2': cannot convert from 'System.Collections.Hashtable' to
'System.Collections.Generic.IDictionary<string,string>'

On a side note, I have been using an OSS project I have been contributing
heavily to called horn  <http://code.google.com/p/hornget/>to build Rhino.
There are some blog posts listed on the google code page.

To cut a long story short, horn wants to be a ruby gems or appget.  Horn has
a number of internal DSL files written in boo that act as build descriptors
for the various packages.

For example here is the Rhino build descriptor:

install rhino:
    description "Rhino tools including Rhino Mocks, Rhino ETL, Binsor etc."
    get_from svn("
https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk";)

    build_with nant, buildfile("default.build"), FrameworkVersion35

    switches:
       parameters
"build.warnaserrors=false","common.testrunner.enabled=false","sign=true"

    shared_library "SharedLibs"
    build_root_dir "build"

dependencies:
    depend "castle.tools"        >> "Castle.Core"
    depend "castle.tools"        >> "Castle.DynamicProxy"
    depend "castle.tools"   >> "Castle.DynamicProxy2"
    depend "castle.windsor"      >> "Castle.MicroKernel"
    depend "castle.windsor"      >> "Castle.Windsor"
    depend "castle.services"     >> "Castle.Services.Transaction"
    depend "castle.services"     >>
"Castle.Services.Logging.Log4netIntegration"
    depend "castle.services"     >>
"Castle.Services.Logging.NLogIntegration"
    depend "castle.components"   >> "Castle.Components.Validator"
    depend "castle.activerecord" >> "Castle.ActiveRecord"
    depend "castle.facilities"   >>
"Castle.Facilities.AutomaticTransactionManagement"
    depend "nhibernate"       >> "2.1" >> "NHibernate"
    depend "nhibernate"       >> "2.1" >> "NHibernate.ByteCode.Castle"
    depend "nhibernate"          >> "2.1" >> "Iesi.Collections"
    /*depend @log4net >> "log4net"
    depend @boo      >> "Boo.Lang.Extensions"
    depend @boo         >> "Boo.Lang.Interpreter"
    depend @boo         >> "Boo.Lang.Parser"
    depend @boo         >> "Boo.Lang.Useful"
    depend @boo         >> "Boo.NAnt.Tasks"
    depend @boo         >> "Boo.Lang.CodeDom"
    depend @boo         >> "Boo.Lang.Compiler"
    depend @boo         >> "booc"
    depend @boo         >> "Boo.Lang"*/

package.homepage = "http://ayende.com/projects/rhino-mocks.aspx";
package.forum    = "http://groups.google.co.uk/group/rhino-tools-dev";

Horn will not only download the source and try and build the requested
package but it will also download and build any packages specified in the
dependencies section for example:

    depend "nhibernate"          >> "2.1" >> "NHibernate"
    depend "nhibernate"          >> "2.1" >> "NHibernate.ByteCode.Castle"
    depend "nhibernate"          >> "2.1" >> "Iesi.Collections"

Ths will cause horn to retrieve the nhibernate 2.1.0 branch code from
nhibernate and build it and copy it into the correct SharedLibs folder of
Rhino.

The observant of you will notice that I have commented out the boo
dependencies.  THere was a break here against the latest version of boo.

I must stress that horn is very much a work in progress and we are not at
beta quality yet. Horn will download a lot of souce code to your file system
given half the chance. Things can and will go wrong.

If you are interested you can join the horn user group here:

http://groups.google.co.uk/group/horn-development?hl=en

Cheers

Paul Cowan

Cutting-Edge Solutions (Scotland)

http://thesoftwaresimpleton.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to