Yes, I have nant set up in a tools directory so I don't have to add a
new path statement for every project that uses nant build files. That
would explain the problem.
As to syntax for accessing the class metaproperty, I'm happy however
it works. You can see my current implementation using
LambdaRestriction.ClassEq (which is really a shallow layer over get
type + string concatenation). This was built to satisfy the immediate
requirement and as a potential (although less than elegant) solution
to the problem (I'm still learning what I can do with expression tree
parsing).
Not 100% sure about the code changes to allow more succinct
representation of boolean expressions, but I followed that path
because I was getting annoyed with all the reshaper warnings (and it
does look rather neater).
Also been playing with concept of "typed" detached criteria to remove
the additional noise required by the Add<T> and increase the "type
safety" of the queries even further (i.e. not allowing something like
DetachedCriteria.For<Person>().Add<Cat>( c => ... ) ), but not sure if
that fits well with the concept of NHLambda (and it's not even close
to working).
Apologies for the flurry of changes - I'm migrating a bunch of
criteria queries over - some that have "interesting" characteristics
so I have to extend the capabilities of NHLambda, which exposes me to
it's potential which drives me to mess around with it even more.
Great work btw, Nice to work on something thats easy to follow and
extend.
On Mar 6, 9:50 am, "Richard Brown \(gmail\)" <
fluke...@googlemail.com>
wrote:
> I don't know if this is the problem, but there's a line in the build file:
> <setenv name="PATH"
> value="${nant::get-base-directory()}/../../t4;%PATH%"/>
>
> This adds t4 to path based on where NAnt was run from, so I expect you're
> using your own copy/installation of NAnt? (i.e., not the one in the SDKs
> folder that's set by the CommandPrompt.bat? - just a guess).
>
> --------------------------------------------------
> From: "Richard Brown (gmail)" <
fluke...@googlemail.com>
> Sent: Thursday, March 05, 2009 7:32 PM
> To: <
nhlambdaext...@googlegroups.com>
> Subject: Re: 2 Patches Added
>
> > Hi Neal,
>
> > I can't get the build script to fail on mine ... can you describe the
> > steps to reproduce?
>
> > (is it when using NAnt from the command line? what's the error? was the
> > CommandPrompt.bat used?)
> > (or from VS - which version?)
>
> > Cheers,
> > Richard
>
> > --------------------------------------------------
> > From: "Neal Blomfield" <
Neal.Blomfi...@gmail.com>