From: SourceForge.net <no...@so...> - 2006-02-24 07:12:44
|
Bugs item #1437898, was opened at 2006-02-24 07:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1437898&group_id=31650 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Packaging Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: simon haines (simonhaines) Assigned to: Nobody/Anonymous (nobody) Summary: Building 0.85-rc3 with framework 1.1/SDK (with fix) Initial Comment: A bug in the Makefile.nmake causes a resource error building nant 0.85 rc3 with Framework 1.1/SDK. The bug manifests as: C:\apps\nant-0.85-rc3-src>nmake -f Makefile.nmake install prefix="c:\apps\" Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. if not exist bootstrap md bootstrap if not exist bootstrap\lib md bootstrap\lib xcopy lib bootstrap\lib /S /Y /Q 36 File(s) copied copy lib\log4net.dll bootstrap 1 file(s) copied. copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config 1 file(s) copied. csc -target:exe -define:NET -out:bootstrap\NAnt.exe -r:bootstrap\log4net.dll -recurse:src\NAnt.Console\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. resgen src\NAnt.Core\Resources\Strings.resx bootstrap\Strings.resources Read in 181 resources from 'src\NAnt.Core\Resources\Strings.resx' Writing resource file... Done. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Core.dll -r:bootstrap\log4net.dll -r:System.Web.dll -resource:bootstrap\Strings.resources -recurse:src\NAnt.Core\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\net\1.0\NDoc.Core.dll -recurse:src\NAnt.DotNet\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.CompressionTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\ICSharpCode.SharpZipLib.dll -recurse:src\NAnt.Compression\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Win32Tasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\NAnt.DotNetTasks.dll -r:System.ServiceProcess.dll -r:Microsoft.JScript.dll -recurse:src\NAnt.Win32\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. bootstrap\NAnt.exe -f:NAnt.build install -D:install.prefix="c:\apps" NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/apps/nant-0.85-rc3/NAnt.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: install [tstamp] Friday, 24 February 2006 5:41:18 PM. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: build: [echo] Build Directory is C:\apps\nant-0.85-rc3/build/net-1.1.win32/nant-0.85-debug [mkdir] Creating directory 'C:\apps\nant-0.85-rc3\build\net-1.1.win32\nant-0.85-debug\bin'. [mkdir] Creating directory 'C:\apps\nant-0.85-rc3\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [copy] Copying 2 files to 'C:\apps\nant-0.85-rc3\build\net-1.1.win32\nant-0.85-debug\bin'. [copy] Copying 34 files to 'C:\apps\nant-0.85-rc3\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [nant] C:\apps\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build Buildfile: file:///C:/apps/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build build: BUILD FAILED INTERNAL ERROR System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Strings.resources" was correctly embedded or linked into assembly "NAnt.DotNetTasks". baseName: Strings locationInfo: <null> resource file name: Strings.resources assembly: NAnt.DotNetTasks, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at NAnt.Core.Util.ResourceUtils.GetString(String name, CultureInfo 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 forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to nan...@li.... Total time: 0.1 seconds. BUILD FAILED Nested build failed. Refer to build log for exact reason. Total time: 1.4 seconds. NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1' Stop. The fix is to modify Makefile.nmake and adjust the "bootstrap\NAnt.DotNetTasks.dll" target accordingly: bootstrap\NAnt.DotNetTasks.dll: $(RESGEN) src\NAnt.DotNet\Resources\Strings.resx bootstrap\Strings.resources $(CSC) -target:library -warn:0 -define:$(DEFINE) -out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll -resource:bootstrap\Strings.resources -r:bootstrap\lib\$(FRAMEWORK_DIR)\1.0\NDoc.Core.dll -recurse:src\NAnt.DotNet\*.cs src\CommonAssemblyInfo.cs Simon. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1437898&group_id=31650 |