Matthew Mastracci wrote:

On Thu, 2004-07-08 at 20:12, Ian MacLean wrote:


Matthew Mastracci wrote:



Strange - I had the same issue while I was developing (turned out that
the DirectoryScanner was busted), but the fix for that was checked in.





Where was the fix ? Maybe its manifesting itself in another way on my machine setup



It was one of my interim builds that was failing in that way before I had finished the implementation. Basically, the test patterns weren't matching the task DLLs as they should.

I took a look at what might be going wrong. I assume that the
"*Tasks.dll" pattern is no longer matching the correct task DLLs for
some reason.


Could you uncomment the "DEBUG_REGEXES" line in DirectoryScanner.cs and
send the output just before it fails? It might give more insight into
what is happening.


Heres the output :
[exec] Starting 'H:\cvs\nant/build/net-1.1.win32/nant-0.85-debug/bin/NAnt.exe ( -buildfile:NAnt.build debug self-test -D:proj
ect.version=0.85 -targetframework:net-1.1)' in 'H:\cvs\nant'
NAnt 0.85 (Build 0.85.1651.0; net-1.1.win32; nightly; 7/9/2004)
Copyright (C) 2001-2004 Gerry Shaw
NAnt Team


*********************************************************************
DirectoryScanner.Scan()
*********************************************************************


at NAnt.Core.DirectoryScanner.Scan()
at NAnt.Core.Types.FileSet.Scan()
at NAnt.Core.Types.FileSet.get_FileNames()
at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode)
at NAnt.Core.ProjectSettingsLoader.ProcessSettings()
at NAnt.Core.Project.CtorHelper(XmlDocument, Level, Int32)
at NAnt.Core.Project..ctor(String, Level, Int32)
at NAnt.Core.ConsoleDriver.Main(String[])
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, A
ssembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
at System.Reflection.MethodBase.Invoke(Object, Object[])
at NAnt.Console.HelperArguments.CallConsoleRunner()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate)
at NAnt.Console.ConsoleStub.Main(String[])


           Includes:
           *Tasks.dll
           *Tests.dll
           tasks/*.dll
           Excludes:
           NAnt.MSNetTasks.dll
           BUILD FAILED
           NAnt.MSNet.Tests.dll
           **/*~
           **/#*#
           **/.#*
           **/%*%
           **/CVS
           **/CVS/**
           **/.svn
           **/.svn/**
           **/.cvsignore
           **/SCCS
           **/SCCS/**
           **/vssver.scc
           **/_vti_cnf/**

For more information regarding the cause of the build failure, run the build again in debug mode.

           Try 'nant -help' for more information

The current runtime framework 'net-1.1' is not correctly configured in the NAnt configuration file.
Invalid element <readregistry>. Unknown task or datatype.


BUILD FAILED


DOes that help at all ?

I only have the 1.1 SDK installed on this box - I don't know if it's
framework-specific.


I have 1.0 installed as well. I get the same error if I run nant with -K:net-1.0 ie ' framework 'net-1.1' is not correctly configured'

I'll be going out of town tomorrow morning - we can always revert
DirectoryScanner.cs and I can fix it when I get back.

Matt.



I just ran my local tests and everything seems to be running just fine.

Can you grab another checkout to verify that you got my latest changes? I'm a little puzzled to why this might be happening.





did a fresh checkout which didn't update any files ( ie yesterdays sync was the latest code ) and I'm still seeing it. If I revert DirectoryScanner.cs back to an older version and rebuild it works.



My command-line is:

bin\nant debug set-net-1.1-framework-configuration test





it fails with that or just a bin\nant.

Is anyone else seeing this failure  ?

Ian



On Thu, 2004-07-08 at 12:00, Gert Driesen wrote:




Matthew,

Can you please have a look at this issue ?

Thanks !

Gert

----- Original Message -----
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "Ian MacLean" <[EMAIL PROTECTED]>; "Nant-Developers (E-mail)"
<[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 8:15 AM
Subject: Re: [nant-dev] current cvs build failure






----- Original Message -----
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Nant-Developers (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 5:28 AM
Subject: [nant-dev] current cvs build failure






A fresh cvs checkout of nant is failing with the following :


2>>>>


[echo] Running unit tests with just built version of NAnt.
[exec]
H:\cvs\nant-test\nant/build/net-1.1.win32/nant-0.85-debug/bin/NAnt.exe
-buildfile:NAnt.build debug self-test -D:proje
ct.version=0.85 -targetframework:net-1.1
NAnt 0.85 (Build 0.85.1650.0; net-1.1.win32; nightly;




7/8/2004)




          Copyright (C) 2001-2004 Gerry Shaw
          NAnt Team

          BUILD FAILED


For more information regarding the cause of the build failure, run the build again in debug mode.

Try 'nant -help' for more information
The current runtime framework 'net-1.1' is not correctly
configured in the NAnt configuration file.
Invalid element <readregistry>. Unknown task or




datatype.




BUILD FAILED

H:\cvs\nant-test\nant\NAnt.build(160,10):
External Program Failed:
H:\cvs\nant-test\nant/build/net-1.1.win32/nant-0.85-debug/bin/NAnt.exe
(return code was 1)

This is new since yesterday - Does anyone who checked in code in the




last




day have an idea ?

I think there's an issue with the DirectoryScanner changes that Matthew
committed yesterday.

Matthew, can you have a look at this (possibly write some more unit tests,
so we don't have any regression on this in the future) ?

Thanks,

Gert







--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to