> Ian MacLean wrote:
>
> >>
> > yeah - its implemented as an xslt script now - ie it
> doesn't execute
> > any tasks ( included :) ). Perhaps a better
> implementation
> > could be written that processes the includes as well. It could
> > probably be done with xslt but that may not be the be
Ian MacLean wrote:
yeah - its implemented as an xslt script now - ie it doesn't execute
any tasks ( included :) ). Perhaps a better implementation
could be written that processes the includes as well. It could
probably be done with xslt but that may not be the best approach.
Do you want to lo
Bill Arnette wrote:
Ian MacLean wrote:
I tried it out and discovered that if you omit the xmlns
attribute on
the project in the main build file, it then works. Further testing
reveals that if both the main and included build file have the
identical xmlns attribute, it also wor
> Ian MacLean wrote:
>
>
> > I tried it out and discovered that if you omit the xmlns
> attribute on
> > the project in the main build file, it then works. Further testing
> > reveals that if both the main and included build file have the
> > identical xmlns attribute, it also works. Gary
>
Ian MacLean wrote:
No, I mean targets. But according to the docs, tasks defined at the
project level should be run when at the point the file is included.
So I
put an task at the project level in my included file and it
doesn't
get run. I also tried putting a in the included file and
then
Bill Arnette wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Merrill Cornish
Sent: Tuesday, February 22, 2005 5:45 PM
To: Arnette, Bill; 'nant-users@lists.sourceforge.net'
Subject: Re: [Nant-users] More task woes
Bill,
I haven
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Merrill Cornish
> Sent: Tuesday, February 22, 2005 5:45 PM
> To: Arnette, Bill; 'nant-users@lists.sourceforge.net'
> Subject: Re: [Nant-users] More task woes
>
Bill,
I haven't done it recently, but I've prviously been able to call targets (did
you really mean "tasks") defined in an included NAnt script from the calling
Nant script. Of course, the include must come before the call to the included
target.
Merrill
I am trying to use the Nant task to segregate related targets into
include files, but it's not working.
If I set verbose="true" on the include task, the output shows it is being
included, but if I try to call a target in the included file explicitly or
via depends, it says the target is not in th