Hi all,
gratulations for rc3! However I tried to bootstrap from source distribution
on Windows and failed. Here is the 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
It seems that Strings.resx is not added into .nmake file. I quick-checked
.build files and unix makefile and it seems ok there.
Regards,
Martin
--
full log here:
E:\src\extern\nant>nmake -f Makefile.nmake install prefix=e:\src\extern\nant
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 zkopírovaných souborů
copy lib\log4net.dll bootstrap
1 zkopírovaných souborů
copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config
1 zkopírovaných souborů
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 -r
ecurse: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:s
rc\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.CompressionT
asks.dll -r:bootstrap\NAnt.Core.dll
-r:bootstrap\lib\ICSharpCode.SharpZipLib.dl
l -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.d
ll -r:bootstrap\NAnt.Core.dll -r:bootstrap\NAnt.DotNetTasks.dll
-r:System.Servi
ceProcess.dll -r:Microsoft.JScript.dll -recurse:src\NAnt.Win32\*.cs
src\Common
AssemblyInfo.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="e:\src\exte
rn\nant"
NAnt 0.85 (Build 0.85.1932.0; rc3; 16.4.2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///E:/src/extern/nant/NAnt.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: install
[tstamp] 2. května 2005 10:40:38.
init:
debug:
set-framework-configuration:
set-net-1.1-framework-configuration:
build:
[echo] Build Directory is
E:\src\extern\nant/build/net-1.1.win32/nant-0.85-
debug
[mkdir] Creating directory
'E:\src\extern\nant\build\net-1.1.win32\nant-0.85
-debug\bin'.
[mkdir] Creating directory
'E:\src\extern\nant\build\net-1.1.win32\nant-0.85
-debug\bin\lib'.
[copy] Copying 2 files to
'E:\src\extern\nant\build\net-1.1.win32\nant-0.85
-debug\bin'.
[copy] Copying 34 files to
'E:\src\extern\nant\build\net-1.1.win32\nant-0.8
5-debug\bin\lib'.
[nant] E:\src\extern\nant\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///E:/src/extern/nant/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 an
y resources appropriate for the specified culture (or the neutral culture)
in th
e given assembly. Make sure "Strings.resources" was correctly embedded or
linke
d into assembly "NAnt.DotNetTasks".
baseName: Strings locationInfo: <null> resource file name:
Strings
.resources assembly: NAnt.DotNetTasks, Version=0.85.1932.0,
Culture=neutral, Pu
blicKeyToken=null
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.1 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 0.6 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
E:\src\extern\nant>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers