Hello Gert
So kind of you to be working on a Sunday
Be sure your boss gives you a raise for all the extra effort you are putting
in!
I cleaned off the directory and still get the same error
nmake -d -p -f Makefile.nmake install prefix="c:\Program Files"
..
[nant] C:\Nant\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///C:/Nant/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.bui
ld
Target framework: Microsoft .NET Framework 2.0 Beta 1
Target(s) specified: build
build:
BUILD FAILED
INTERNAL ERROR
System.Resources.MissingManifestResourceException: Could not
find an
y resources appropriate for the specified culture (or the neutral culture).
Make
sure "Strings.resources" was correctly embedded or linked into assembly
"NAnt.D
otNetTasks" at compile time.
at
System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name,
Cultur
eInfo culture)
at NAnt.Core.Util.ResourceUtils.GetString(String name,
CultureInf
o culture, Assembly assembly)
at NAnt.Core.Util.ResourceUtils.GetString(String name)
at NAnt.DotNet.Tasks.CscTask.NeedsCompiling()
at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean
forceDepe
ndencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Total time: 0.7 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 5.2 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
C:\Nant\nant-0.85-rc3>
MSDN at http://support.microsoft.com/default.aspx?scid=kb;en-us;839861 says
run resgen manually so I did
C:\Nant\nant-0.85-rc3\bootstrap>Resgen Strings.en.resources
NAnt.D.strings.en.resources
Read in 181 resources from 'Strings.en.resources'
Writing resource file... Done.
Then linking to assembly..
C:\Nant\nant-0.85-rc3\bootstrap>al
/linkresource:Nant.DotNetTasks.strings.en.res
ources /out:Nant.DotNetTasks.dll
Microsoft (R) Assembly Linker version 8.00.40607.16
for Microsoft (R) Windows (R) .NET Framework version 2.0.40607
Copyright (C) Microsoft Corporation 2001-2003. All rights reserved.
Advice ?
Martin-
----- Original Message -----
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "'Martin Gainty'" <[EMAIL PROTECTED]>; "'Pillai, Gishu R (GE Energy)'"
<[EMAIL PROTECTED]>; <nant-users@lists.sourceforge.net>
Sent: Sunday, October 30, 2005 8:47 AM
Subject: RE: [Nant-users] RE: Weird NAnt build failures that go away after
an IDE build
Martin,
Plaese use a recent nightly build instead of NAnt 0.85 RC3:
http://nant.sourceforge.net/nightly/latest
The issue in the makefile that you ran into is fixed in the nightly
builds.
Keep me up-to-date.
Gert
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Gainty
Sent: zaterdag 29 oktober 2005 17:01
To: Gert Driesen; 'Pillai, Gishu R (GE Energy)';
nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] RE: Weird NAnt build failures that
go away after an IDE build
Gert-
First off everything under RC2 ran great with no problems
as far as RC3
2 problems
1)String resources were not being compiled and bound to
assembly.. i have
fixed this
with asmgen and al commands
2)Now I have a bigger problem with csc task
First trying at command line
C:\Nant\nant-0.85-rc3>csc -target:library -warn:0 -define:NET
-out:bootstrap\NAn
t.Core.dll -r:bootstrap\log4net.dll -r:System.Web.dll
-resource:bootstrap\String
s.resources -recurse:src\NAnt.Core\*.cs src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 8.00.40607.42
for Microsoft (R) Windows (R) .NET Framework version 2.0.40607
Copyright (C) Microsoft Corporation 2001-2003. All rights reserved.
then running thru makefile
nmake -d -p -f Makefile.nmake install prefix="c:\Program Files"
build:
[echo] Build Directory is
C:\Nant\nant-0.85-rc3/build/net-2.0.win32/nant-0.
85-debug
[nant] C:\Nant\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///C:/Nant/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.bui
ld
Target framework: Microsoft .NET Framework 2.0 Beta 1
Target(s) specified: build
build:
BUILD FAILED
C:\Nant\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build(11,10):
Invalid element <csc>. Unknown task or datatype.
Total time: 0 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 0.7 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
C:\Nant\nant-0.85-rc3>
-----------The contents of the Nant.core.build are -------------------
<?xml version="1.0"?>
<project name="NAnt.Core" default="build">
<!--
Required properties:
* build.dir - (path) root level to build to,
assemblies will go in ${build.dir}/bin
* build.debug - (true|false) debug build?
* current.build.defines - framework-specific build defines
-->
<target name="build">
<!-- build NAnt.Core -->
<csc target="library" define="${current.build.defines}"
warnaserror="true" debug="${build.debug}"
output="${build.dir}/bin/${nant.project.name}.dll"
doc="${build.dir}/bin/${nant.project.name}.xml">
<nowarn>
<!-- do not report warnings for missing XML
comments -->
<warning number="1591" />
<!-- do not report deprecation warnings -->
<warning number="0618" />
</nowarn>
<sources failonempty="true">
<include name="**/*.cs" />
<!-- common assembly-level attributes -->
<include name="../CommonAssemblyInfo.cs" />
</sources>
<resources basedir="Resources">
<include name="**/*" />
</resources>
<references>
<include name="${build.dir}/bin/log4net.dll"/>
<include name="System.Web.dll"/>
</references>
</csc>
</target>
</project>
----- Original Message -----
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "'Martin Gainty'" <[EMAIL PROTECTED]>; "'Pillai, Gishu
R (GE Energy)'"
<[EMAIL PROTECTED]>; <nant-users@lists.sourceforge.net>
Sent: Friday, October 28, 2005 11:32 AM
Subject: RE: [Nant-users] RE: Weird NAnt build failures that
go away after
an IDE build
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> Martin Gainty
>> Sent: vrijdag 28 oktober 2005 17:00
>> To: Pillai, Gishu R (GE Energy); nant-users@lists.sourceforge.net
>> Subject: Re: [Nant-users] RE: Weird NAnt build failures that
>> go away after an IDE build
>>
>> I am having difficulty compiling with mcs ...I have no idea
>> what this binary does plus the build breaks on the latest
source drop
>
> Are you sure you're compiling with mcs ? Did you build NAnt
yourself using
> make or nmake ? If so try using a recently build as NAnt 0.85 RC3
> contained
> a bug in the makefiles :(
>
> Gert
>
>>
>> Specifically
>> build:
>>
>> [echo] Build Directory is
>> C:\Nant\nant-0.85-rc3/build/net-2.0.win32/nant-0.
>> 85-debug
>> [nant]
C:\Nant\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
>> Buildfile:
>> file:///C:/Nant/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.bui
>> ld
>> Target framework: Microsoft .NET Framework 2.0 Beta 1
>> Target(s) specified: build
>>
>>
>> build:
>>
>>
>> BUILD FAILED
>>
>> INTERNAL ERROR
>>
>>
>> System.Resources.MissingManifestResourceException: Could
not find an
>> y resources appropriate for the specified culture (or the
>> neutral culture). Make
>> sure "Strings.resources" was correctly embedded or linked
>> into assembly "NAnt.D
>> otNetTasks" at compile time.
>> at
>> System.Resources.ResourceManager.InternalGetResourceSet(Cultur
>> eInfo culture, Boolean createIfNotExists, Boolean tryParents)
>> at
>> System.Resources.ResourceManager.InternalGetResourceSet(Cultur
>> eInfo culture, Boolean createIfNotExists, Boolean tryParents)
>> at
>> System.Resources.ResourceManager.InternalGetResourceSet(Cultur
>> eInfo culture, Boolean createIfNotExists, Boolean tryParents)
>> at
>> System.Resources.ResourceManager.GetString(String name, Cultur
>> eInfo culture)
>> at
>> NAnt.Core.Util.ResourceUtils.GetString(String name, CultureInf
>> o culture, Assembly assembly)
>> at
NAnt.Core.Util.ResourceUtils.GetString(String name)
>> at NAnt.DotNet.Tasks.CscTask.NeedsCompiling()
>> in c:\Nant\nant-0.8
>> 5-rc3\src\NAnt.DotNet\Tasks\CscTask.cs:line 390
>> at
>> NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() in c:\Nant\nant-0
>> .85-rc3\src\NAnt.DotNet\Tasks\CompilerBase.cs:line 426
>> at NAnt.Core.Task.Execute()
>> at NAnt.Core.Target.Execute()
>> at NAnt.Core.Project.Execute(String
>> targetName, Boolean forceDepe
>> ndencies)
>> at NAnt.Core.Project.Execute()
>> at NAnt.Core.Project.Run()
>>
>> Please send bug report to
>> [EMAIL PROTECTED]
>>
>> Im going to try again tommorrow as soon as I get a better
>> handle on the situation
>> Any suggestions Gert ?
>> Vielen Danke,
>> Martin
>>
>> ----- Original Message -----
>> From: Pillai, Gishu R (GE Energy)
>> <mailto:[EMAIL PROTECTED]>
>> To: Laconia Data Systems
>> <mailto:[EMAIL PROTECTED]> ;
>> nant-users@lists.sourceforge.net
>> Sent: Friday, October 28, 2005 5:41 AM
>> Subject: RE: [Nant-users] RE: Weird NAnt build failures
>> that go away after an IDE build
>>
>> Hi, this happened again today. NAnt build failed
>> stating the following reason...
>>
>> DataAccess\GCDA\GCDA\GCDA.cs(1988,15): error CS0117:
>> 'GE.OST.Data.CurveSetDA.CurveSetDA' does not contain a
>> definition for 'GetRatingTableValue'
>> External Program Failed:
>> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm.exe
>> (return code was 100)
>>
>> I opened the solution in the IDE and once again the
>> source is buildable. To add more mystery,
>> I have another machine running the same script and
>> there CCTray is green.
>> I can only think that maybe the solution task is optimizing
>> by not building something that it says is up-to-date
>> but is not.
>> Again just speculating here... Maybe Gert or Martin can
>> throw more light on this.
>> After the IDE Build, I closed the IDE and again ran a
>> force-build,
>> this time the first error went off but The regasm error
>> persisted (2nd Log File)..
>>
>> External Program Failed:
>> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm.exe
>> (return code was 100)
>>
>> I have attached the build file and the logs with this
>> mail. Please see if you can find anything amiss..
>>
>> Thanks,
>> Gishu
>> -----Original Message-----
>> From: Laconia Data Systems
>> [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, October 20, 2005 5:10 PM
>> To: Pillai, Gishu R (GE Energy)
>> Subject: Re: [Nant-users] RE: Weird NAnt build failures
>> that go away after an IDE build
>>
>>
>>
>> This actually happened to me recently where I
>> was working for an Indian Manager (almost all of the managers
>> here in the US are indian)
>> and he wanted my build environment which I had
>> built locally transferred to his machine.
>> Unfortunately the American license did not work
>> for him and I suggested that he license all of his software
>> with indian licenses
>> and when all the components of my build were
>> licensed and registered he was able to get my build
>> environment running on his machine.
>> As far as throwing up almost any doctor will
>> tell you that is what happens to the human body when it is
>> trying to expunge a poisonous substance or a foreign body or
>> a substance which it cannot metabolise so the body attempts
>> to purge the 'poison' ..when your builds 'throw up' you are
>> probably using a component that is not registered or licensed
>> or might be targetting the wrong version of framework
>> Turn on all your debug logging and send us the
>> entire script as well as logs so we can see what exactly
is going on
>>
>> Viel Gluck!
>> Martin Gainty
>> das Amerika
>>
>>
>> ----- Original Message -----
>> From: Pillai, Gishu R (GE Energy)
>> <mailto:[EMAIL PROTECTED]>
>> To: Martin Gainty <mailto:[EMAIL PROTECTED]>
>> Sent: Thursday, October 20, 2005 1:43 AM
>> Subject: RE: [Nant-users] RE: Weird
>> NAnt build failures that go away after an IDE build
>>
>>
>> We have the licenses setup on the build
>> server. This is what happens on my machine.
>> If I run the NAnt script, what I would
>> expect is that I may get a few nag-screens but the codebase
>> should build. It used to say a week
>> back but lately it has been throwing up a lot.
>> Also the error appears to be with
>> registering an assembly - don't feel it's related to licenses.
>> Thanks for replying,
>> Gishu
>>
>>
>> -----Original Message-----
>> From: Martin Gainty
>> [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 19,
>> 2005 8:47 PM
>> To: Pillai, Gishu R (GE Energy)
>> Subject: Re: [Nant-users] RE:
>> Weird NAnt build failures that go away after an IDE build
>>
>>
>> I had the same issue in a
>> websphere build environment 2 years back which caused the
app to crash
>> get your company to fork over
>> the money for the license and the problem will magically disapppear
>>
>> ----- Original Message -----
>> From: Pillai, Gishu R
>> (GE Energy) <mailto:[EMAIL PROTECTED]>
>> To:
>> nant-users@lists.sourceforge.net
>> Sent: Wednesday,
>> October 19, 2005 5:17 AM
>> Subject: [Nant-users]
>> RE: Weird NAnt build failures that go away after an IDE build
>>
>> Seems like this project
>> just plain won't play with NAnt
>> I had 2 more
>> intermittent errors
>> one was a dependent
>> assembly not being found.
>> second one is
>>
>>
>> BUILD FAILED
>>
>> Unexpected error while
>> compiling project 'GateCycleMain'
>> Item has already
>> been added. Key in dictionary:
>> "E:\GC\RootBuild\source\DataAccess\GCDA\obj\Debug\GCDA.tlb"
>> Key being added:
>> "E:\GC\RootBuild\source\DataAccess\GCDA\obj\Debug\GCDA.tlb"
>>
>>
>> Both are not seen if I
>> build from the IDE. I get a couple of licensing nag-screen
>> for some 3rd party components but the build succeeds.
>>
>> Gishu
>>
>>
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through
End of 2005
> Visit http://www.jboss.com/services/certification for more
information
> _______________________________________________
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users