Hmm, I though NHQG is dead.

If you're a trunk dude, why won't you go for nhextensionmethods instead? it
lets you use typed syntax for ICriteria without code generation.



On Fri, May 1, 2009 at 10:13 PM, Mohammed Ali <[email protected]>wrote:

> Hi all ,
>
>         My attempt to build NHQG using NHibernate-2.1.0.Alpha3 is
> failed.Please help me to solve this problem.I attached the detailed
> Buildlog.
>
> Thanks in advance.
>
>
> >
>
> NAnt 0.86 (Build 0.86.3402.0; nightly; 4/25/2009)
> Copyright (C) 2001-2009 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///D:/OSS/Dev/rhino-tools/default.build
> Target framework: Microsoft .NET Framework 3.5
> Target(s) specified: build
>
>
> common.check-nant-version:
>
>
> common.find-tools:
>
>
> set-framework-configuration:
>
>
> set-net-3.5-framework-configuration:
>
>
> set-project-configuration:
>
>
> set-debug-project-configuration:
>
>
> common.init:
>
>
> init:
>
>
> common.find-svninfo:
>
>     [exec] <?xml version="1.0"?>
>     [exec] <info>
>     [exec] <entry
>     [exec]    kind="dir"
>     [exec]    path="D:\OSS\Dev\rhino-tools"
>     [exec]    revision="2141">
>     [exec] <url>
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk</url>
>     [exec] <repository>
>     [exec] <root>
> https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools</root>
>     [exec] <uuid>079b0acf-d9fa-0310-9935-e5ade295c882</uuid>
>     [exec] </repository>
>     [exec] <wc-info>
>     [exec] <schedule>normal</schedule>
>     [exec] <depth>infinity</depth>
>     [exec] </wc-info>
>     [exec] <commit
>     [exec]    revision="2141">
>     [exec] <author>ayenderahien</author>
>     [exec] <date>2009-04-30T20:23:20.904841Z</date>
>     [exec] </commit>
>     [exec] </entry>
>     [exec] </info>
>  [xmlpeek] Peeking at 'D:\OSS\Dev\rhino-tools\_revision.xml' with XPath
> expression '/info/entry/@revision'.
>  [xmlpeek] Found '1' nodes with the XPath expression
> '/info/entry/@revision'.
>   [delete] Deleting file D:\OSS\Dev\rhino-tools\_revision.xml.
>     [echo] INFO: Using Subversion revision number: 2141
>
> common.find-nunit:
>
>     [exec] MbUnit 1.0.2700.29885 Console Application (running on .Net
> 2.0.0.0)
>     [exec] Author: Jonathan de Halleux
>     [exec] Get the latest at http://www.mbunit.com
>     [exec] ------------------------------------------
>     [exec]     /assembly-path:<string>             short form /ap Path
> where assembly can be loaded
>     [exec]     /report-folder:<string>             short form /rf Target
> output folder for the reports
>     [exec]     /report-name-format:<string>        short form /rnf Format
> string for the report name. {0} is replaced by the date, {1} by the
> time.Default = mbunit-{0}{1}
>     [exec]     /report-type:{Xml|Html|Text|Dox}    short form /rt Report
> types supported: Xml, Html, Text
>     [exec]     /show-reports[+|-]                  short form /sr Show
> generated reports in a window
>     [exec]     /transform:<string>                 short form /tr Transform
> to use when generating reports
>     [exec]     /filter-category:<string>           short form /fc Name of
> the filtered category
>     [exec]     /exclude-category:<string>          short form /ec Name of
> categories to exclude
>     [exec]     /filter-author:<string>             short form /fa Name of
> the filtered author name
>     [exec]     /filter-type:<string>               short form /ft Name of
> the filtered type
>     [exec]     /filter-namespace:<string>          short form /fn Name of
> the filtered namespace
>     [exec]     /verbose[+|-]                       short form /v Return a
> lot of information or not...
>     [exec]     /shadow-copy-files[+|-]             short form /sc
> Enabled/disable shadow copying of the assemblies
>     [exec]     @<file>                             Read response file for
> more options
>     [exec]     <Files>
>     [exec] ------------------------------------------
>     [echo] INFO: Using MBUnit for running unit tests
>
> copy-referenced-assemblies:
>
>
> build:
>
>     [nant] D:\OSS\Dev\rhino-tools\Nhqg\Default.build build
>            Buildfile: file:///D:/OSS/Dev/rhino-tools/Nhqg/Default.build
>            Target framework: Microsoft .NET Framework 3.5
>            Target(s) specified: build
>
>
>            common.build:
>
>                 [nant]
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\default.build
>                        Buildfile:
> file:///D:/OSS/Dev/rhino-tools/Nhqg/NHibernate.Query.Generator/default.build
>                        Target framework: Microsoft .NET Framework 3.5
>                        Target(s) specified: build
>
>
>                        common.check-nant-version:
>
>
>                        common.find-tools:
>
>
>                        set-framework-configuration:
>
>
>                        set-net-3.5-framework-configuration:
>
>
>                        set-project-configuration:
>
>
>                        set-debug-project-configuration:
>
>
>                        common.init:
>
>
>                        init:
>
>
>                        common.set-assembly-attribute-values:
>
>
>                        common.generate-assemblyinfo:
>
>                           [attrib] Setting file attributes for 1 files to
> Normal.
>
>                        generate-assemblyinfo:
>
>
>                        common.compile-exe:
>
>
>                        build:
>
>
>                        BUILD SUCCEEDED
>
>                        Total time: 0.5 seconds.
>
>                 [nant]
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Model\default.build
>                        Buildfile:
> file:///D:/OSS/Dev/rhino-tools/Nhqg/NHibernate.Query.Generator.Model/default.build
>                        Target framework: Microsoft .NET Framework 3.5
>                        Target(s) specified: build
>
>
>                        common.check-nant-version:
>
>
>                        common.find-tools:
>
>
>                        set-framework-configuration:
>
>
>                        set-net-3.5-framework-configuration:
>
>
>                        set-project-configuration:
>
>
>                        set-debug-project-configuration:
>
>
>                        common.init:
>
>
>                        init:
>
>
>                        common.set-assembly-attribute-values:
>
>
>                        common.generate-assemblyinfo:
>
>                           [attrib] Setting file attributes for 1 files to
> Normal.
>
>                        generate-assemblyinfo:
>
>
>                        common.compile-dll:
>
>
>                        build:
>
>
>                        BUILD SUCCEEDED
>
>                        Total time: 0.3 seconds.
>
>                 [nant]
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests\default.build
>                        Buildfile:
> file:///D:/OSS/Dev/rhino-tools/Nhqg/NHibernate.Query.Generator.Tests/default.build
>                        Target framework: Microsoft .NET Framework 3.5
>                        Target(s) specified: test
>
>
>                        common.check-nant-version:
>
>
>                        common.find-tools:
>
>
>                        set-framework-configuration:
>
>
>                        set-net-3.5-framework-configuration:
>
>
>                        set-project-configuration:
>
>
>                        set-debug-project-configuration:
>
>
>                        common.init:
>
>
>                        init:
>
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Blog.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\DerivedBlog.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\DerivedBlog2.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Cat.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Comment.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Componnet.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Format.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\GenericClass.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\InstalledComponnet.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\MediaType.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Patient.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\PatientRecord.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Post.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Project.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\ResourceType.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Role.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Canistar.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\User.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\WeirdClass.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\OtherWeirdClass.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\WeirdPropertyClass.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests/ActiveRecordModel\Istoric.cs
>                             [exec] An error occured:
>                             [exec]
> System.Xml.Schema.XmlSchemaValidationException: The element 'class' in
> namespace 'urn:nhibernate-mapping-2.2' has invalid child element 'property'
> in namespace 'urn:nhibernate-mapping-2.2'. List of possible elements
> expected: 'meta, subselect, cache, synchronize, comment, tuplizer, id,
> composite-id' in namespace 'urn:nhibernate-mapping-2.2'.
>                             [exec]    at
> System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(ValidationEventHandler
> eventHandler, Object sender, XmlSchemaValidationException e, XmlSeverityType
> severity)
>                             [exec]    at
> System.Xml.Schema.XmlSchemaValidator.ElementValidationError(XmlQualifiedName
> name, ValidationState context, ValidationEventHandler eventHandler, Object
> sender, String sourceUri, Int32 lineNo, Int32 linePos, Boolean getParticles)
>                             [exec]    at
> System.Xml.Schema.XmlSchemaValidator.ValidateElementContext(XmlQualifiedName
> elementName, Boolean& invalidElementInContext)
>                             [exec]    at
> System.Xml.Schema.XmlSchemaValidator.ValidateElement(String localName,
> String namespaceUri, XmlSchemaInfo schemaInfo, String xsiType, String
> xsiNil, String xsiSchemaLocation, String xsiNoNamespaceSchemaLocation)
>                             [exec]    at
> System.Xml.XsdValidatingReader.ProcessElementEvent()
>                             [exec]    at
> System.Xml.XsdValidatingReader.ProcessReaderEvent()
>                             [exec]    at
> System.Xml.XsdValidatingReader.Read()
>                             [exec]    at
> System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
>                             [exec]    at
> System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
>                             [exec]    at
> System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
> preserveWhitespace)
>                             [exec]    at
> System.Xml.XmlDocument.Load(XmlReader reader)
>                             [exec]    at
> NHibernate.Query.Generator.QueryGenerator.ValidateAndLoadXmlDocument() in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\QueryGenerator.cs:line
> 336
>                             [exec]    at
> NHibernate.Query.Generator.QueryGenerator.Generate(TextWriter writer) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\QueryGenerator.cs:line
> 123
>                             [exec]    at
> NHibernate.Query.Generator.MultiFileQueryWriter.WriteModel(QueryGenerator
> generator, String modelName) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\QueryWriter.cs:line
> 72
>                             [exec]    at
> NHibernate.Query.Generator.Program.GenerateSingleFile(TextReader input,
> String modelName) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\Program.cs:line 288
>                             [exec]    at
> NHibernate.Query.Generator.Program.GenerateFromActiveRecordAssembly(String
> file) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\Program.cs:line 202
>                             [exec]    at
> NHibernate.Query.Generator.Program.OutputFile(String file) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\Program.cs:line 131
>                             [exec]    at
> NHibernate.Query.Generator.Program.OutputFiles(String inputFilePattern) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\Program.cs:line 113
>                             [exec]    at
> NHibernate.Query.Generator.Program.Main(String[] args) in
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator\Program.cs:line 72
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests\Sample.hbm.cs
>                             [exec] Successfuly created file
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests\WithTopLevelAssemblySpecification.hbm.cs
>                             [exec] Successfuly created file:
> D:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests\QueryBuilder.cs
>
>                        common.set-assembly-attribute-values:
>
>
>                        common.generate-assemblyinfo:
>
>                           [attrib] Setting file attributes for 1 files to
> Normal.
>
>                        generate-assemblyinfo:
>
>
>                        common.compile-tests:
>
>
>                        common.compile-dll:
>
>                              [csc] Compiling 46 files to
> 'D:\OSS\Dev\rhino-tools\build\net-3.5\debug\NHibernate.Query.Generator.Tests.dll'.
>                              [csc]
> d:\OSS\Dev\rhino-tools\Nhqg\NHibernate.Query.Generator.Tests\UsingActiveRecordWithQueriesTestFixture.cs(588,49):
> error CS0117: 'Query.Where' does not contain a definition for 'MesajIst'
>
>                        BUILD FAILED
>
>                        D:\OSS\Dev\rhino-tools\common-project.xml(133,5):
>                        External Program Failed:
> C:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe (return code was 1)
>
>                        Total time: 3.4 seconds.
>
>
>            BUILD FAILED
>
>            Nested build failed.  Refer to build log for exact reason.
>
>            Total time: 4.3 seconds.
>
>
> BUILD FAILED
>
> Nested build failed.  Refer to build log for exact reason.
>
> Total time: 5.1 seconds.
>
>
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il

--~--~---------~--~----~------------~-------~--~----~
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