[nant-dev] [ nant-Bugs-1195010 ] wrong build of 085 RC3 with VS 2003

2005-05-03 Thread SourceForge.net
Bugs item #1195010, was opened at 2005-05-04 06:42
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=1195010&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: ynonk (ynonk)
Assigned to: Nobody/Anonymous (nobody)
Summary: wrong build of 085 RC3 with VS 2003

Initial Comment:

Repro:
download RC3 sources extract and open the NAnt.sln with
VS 2003.
build the solution.

Problem:
when running nant ( with the build output ...) 
you get the following error:
 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 i
nto assembly "NAnt.Core".
baseName: Strings  locationInfo:   resource file
name: Strings.resources  assembly:
NAnt.Core, Version=0.85.1932.0, Culture=neutral,
PublicKeyToken=null


Solution:
As a solution I did the following:
1. add the strings.rsx to 2 projects: NAnt.core &
NAnt.DotNet and (it in it's resources directory). I
added those files to the projects in the project
directory level (not in the Resources dir to avoid
namespace problem)
2. remove the default name space (NAnt.core)  again to
avoid namespace problem


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1195010&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1191185 ] Bad logic for cl task/.pch handling

2005-05-03 Thread SourceForge.net
Bugs item #1191185, was opened at 2005-04-27 19:34
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191185&group_id=31650

>Category: Tasks
>Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Robert Blum (rblum)
>Assigned to: Gert Driesen (drieseng)
Summary: Bad logic for cl task/.pch handling

Initial Comment:
It seems the CL task has some logic for PCH handling
that's inverted.

It checks if any of the sources are newer than the .PCH
file, and if so, recompiles them. However, .cpp files
will hopefully almost always be newer than the .pch -
at least we edit and recompile them quite frequently
without ever touching the precompiled header.

As a result, if you edit any .cpp file after the .pch
is created, it will be recompiled every time you
execute nant. 

I assume what you wanted to check is if the *PCH*
source file is newer than the .PCH, and if so, rebuild. 

I have a temporary fix in, but I'm not sure if that's
entirely right. It works for setups where you have all
files set to "Use PCH" except one that's set to "Create
PCH". I have not tried it with AutoGenerated PCHs.
(Sorry, not enough time...)


At line 472, replace 

// check if sources fresher than pch file
string fileName =
FileSet.FindMoreRecentLastWriteTime(Sources.FileNames,
pchFileInfo.LastWriteTime);
if (fileName != null) {
Log(Level.Verbose, "'{0}' is newer than
pch file, recompiling.", 
fileName);
return false;
}


with 

string fileName;
if( PchMode != PrecompiledHeaderMode.Use ) {
fileName =
FileSet.FindMoreRecentLastWriteTime(Sources.FileNames,
pchFileInfo.LastWriteTime);
if (fileName != null) 
{
Log(Level.Verbose, "'{0}' is newer than 
pch file,
recompiling.", 
fileName);
return false;
}
}



--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-04 08:27

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

Thanks for the report !

--

Comment By: Robert Blum (rblum)
Date: 2005-04-27 20:33

Message:
Logged In: YES 
user_id=25786

Actually, you want to be even more agressive (sorry -
learning about Nant internals as I go... :( )

At the top of  IsPchfileUpToDate(), after you checked if
there even is a PCH, you want to return true if you're just
using the PCH - you're not concerned with rebuilding it at
that time.

// If we just use the PCH, we don't want to rebuild it 
either
if( PchMode == PrecompiledHeaderMode.Use ) 
{
return true;
}


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191185&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1191321 ] C++ Include checks are not recursive

2005-05-03 Thread SourceForge.net
Bugs item #1191321, was opened at 2005-04-27 16:18
Message generated for change (Comment added) made by rblum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191321&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Blum (rblum)
Assigned to: Nobody/Anonymous (nobody)
Summary: C++ Include checks are not recursive

Initial Comment:
Example: Derived.cpp includes Derived.h. Derived.h
includes Base.h. Touch Base.h, and nant will happily
ignore the change.

(Also, once implemented, the recursive search should
terminate at the precompiled header, if there is any.
And at least for larger project, that dependency tree
should be cached...)



--

>Comment By: Robert Blum (rblum)
Date: 2005-05-03 23:37

Message:
Logged In: YES 
user_id=25786

Ugh. I was afraid you'd ask.

In fact, reading through the mailing list and the bug DB I
get the feeling I'm the one of the very few who seriously
uses Nant & C++ ;)

But OK - as soon as I come up for air from my current tasks,
I'll look into this. Have you guys given any thought and/or
code to recursive dependency tracking at all? (I.e. caching
of intermediates, updating dependencies through the compiler
or by hand, etc...)

Basically, anything to get me started ;)

--

Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 14:56

Message:
Logged In: YES 
user_id=707851

I don't have time to work on this right now. You don't happen 
to volunteer for this ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191321&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1190785 ] .resx version problem

2005-05-03 Thread SourceForge.net
Bugs item #1190785, was opened at 2005-04-27 01:05
Message generated for change (Comment added) made by rblum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Blum (rblum)
Assigned to: Gert Driesen (drieseng)
Summary: .resx version problem

Initial Comment:
If you rebuild a nant-target while having Whidbey 
(current beta) installed, .resx files seem to get built
in the Whidbey format - subsequent runs of the
executable complain about .resx files being in version
2 instead of version 1.

Any workarounds for this?

(Last tested with 2005-04-20 nightly)

--

>Comment By: Robert Blum (rblum)
Date: 2005-05-03 23:34

Message:
Logged In: YES 
user_id=25786

It's rather difficult - we've got quite a few sub projects,
and a nice mix of languages. (About 25 projects, in managed
C++, unmanaged C++ and C#)

We havent (as of yet) been completely able to get a proper
rebuild of the system going by exclusively relying on nant -
some parts are command line built. That might've introduced
the 1.1 assemblies.

I'll try to give it some time as soon as we're past our
current milestone - two weeks from here.



--

Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 10:21

Message:
Logged In: YES 
user_id=707851

NAnt 0.85 will always target the latest installed (and 
supported) version of the .NET Framework.

To explicitly target a specific version of .NET in your build file, 
you can just set the nant.settings.currentframework property 
to the identifier of the framework that you want to target.

eg.



The strange thing about your report is that the assembly 
should in fact also be a .NET 2.0 assembly, so it should run 
just fine (on systems where Whidbey is installed).

Can you verify this behaviour again, and if possible send me 
a repro (including prebuild binaries) ?

--

Comment By: Robert Blum (rblum)
Date: 2005-04-27 01:46

Message:
Logged In: YES 
user_id=25786

Specifying the defaultframework on the commandline helps -
however, other tasks still seem to use the 1.1 framework -
only the resx building skips ahead and uses the latest,
greatest, and shiniest.

Any way to *force* the defaultframework to 1.1? I'd rather
not have my users type endless command lines - "nant build"
was a hard enough sell ;)

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1187957 ] Error including build file with additional tasks (as script)

2005-05-03 Thread SourceForge.net
Bugs item #1187957, was opened at 2005-04-22 12:00
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187957&group_id=31650

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Wojtek Sobieszek (v0ytech)
Assigned to: Gert Driesen (drieseng)
Summary: Error including build file with additional tasks (as script)

Initial Comment:
When you try to include two build files and both files 
define additional tasks inline then build fails and 
generates exception: System.ArgumentNullException: 
Value can not be null. Parameter name: element at 
element...

See attached example to reproduce this error.

Regards.



--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-04 06:14

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

Thanks for the report !

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187957&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1192287 ] NAnt build core dumped on FreeBSD

2005-05-03 Thread SourceForge.net
Bugs item #1192287, was opened at 2005-04-29 11:09
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192287&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 7
Submitted By: Filip (philk)
Assigned to: Nobody/Anonymous (nobody)
Summary: NAnt build core dumped on FreeBSD

Initial Comment:
I'm not able to compile NAnt on FreeBSD. Each attempt
fails with:

System was remapped (http://www.go-mono.com/remap.html)
Compat mode: the request from
/usr/home/phil/opt/nant-0.85-nightly-2005-04-20/bootstrap/log4net.dll
to load System.Data was remapped
(http://www.go-mono.com/remap.html)
Compat mode: the request from
/usr/home/phil/opt/nant-0.85-nightly-2005-04-20/bootstrap/log4net.dll
to load System.Web was remapped
(http://www.go-mono.com/remap.html)
NAnt 0.85 (Build 0.85.1936.0; nightly; 04/20/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

gmake: *** [build-nant] Segmentation fault (core dumped)


--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 21:58

Message:
Logged In: YES 
user_id=707851

I'm sorry if I cannot be more helpful, but this seems to be a 
Mono issue.

Have you tried using a 1.1.x version of Mono ?

--

Comment By: Filip (philk)
Date: 2005-04-29 14:36

Message:
Logged In: YES 
user_id=245405

epidem% uname -a
FreeBSD epidem 5.4-STABLE FreeBSD 5.4-STABLE #28: Mon Apr 11
11:13:16 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/EPIDEM  i386

epidem% mono --version
Mono JIT compiler version 1.0.6, (C) 2002-2004 Novell, Inc
and Contributors. www.go-mono.com
TLS:   normal
GC:Included Boehm (with typed GC)
SIGSEGV  : normal
Globalization: none


--

Comment By: Filip (philk)
Date: 2005-04-29 11:24

Message:
Logged In: YES 
user_id=245405

I don't know what causes core dump but the bug is critical
for me because I want use NAnt to build my new C# project.
Thank you.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192287&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1191321 ] C++ Include checks are not recursive

2005-05-03 Thread SourceForge.net
Bugs item #1191321, was opened at 2005-04-27 23:18
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191321&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Blum (rblum)
Assigned to: Nobody/Anonymous (nobody)
Summary: C++ Include checks are not recursive

Initial Comment:
Example: Derived.cpp includes Derived.h. Derived.h
includes Base.h. Touch Base.h, and nant will happily
ignore the change.

(Also, once implemented, the recursive search should
terminate at the precompiled header, if there is any.
And at least for larger project, that dependency tree
should be cached...)



--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 21:56

Message:
Logged In: YES 
user_id=707851

I don't have time to work on this right now. You don't happen 
to volunteer for this ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1191321&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] feature request on mail logger...

2005-05-03 Thread John Cole
Here is a small feature request on the mail logger, add an option to reverse
the log, so the most recent entry is at the top.

Two reasons for this, first, it's quicker to see why the build failed if it
appears at the top, instead of scrolling all the way to the bottom.

And second, I wanted to send the mail to my cell phone (a treo 600) to make
sure an important build worked or not, but when it didn't, I couldn't see
why because I could only retrieve the first 100K (and it has 25K lines).  If
it were reversed, then I could have know why.

Thanks,

John Cole



-
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1187957 ] Error including build file with additional tasks (as script)

2005-05-03 Thread SourceForge.net
Bugs item #1187957, was opened at 2005-04-22 12:00
Message generated for change (Settings changed) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187957&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Wojtek Sobieszek (v0ytech)
>Assigned to: Gert Driesen (drieseng)
Summary: Error including build file with additional tasks (as script)

Initial Comment:
When you try to include two build files and both files 
define additional tasks inline then build fails and 
generates exception: System.ArgumentNullException: 
Value can not be null. Parameter name: element at 
element...

See attached example to reproduce this error.

Regards.



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187957&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] "Internal Error" during build.

2005-05-03 Thread Gert Driesen



David,
 
What version of NAnt are you using ?
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of David 
  TrumbellSent: dinsdag 19 april 2005 0:23To: 
  nant-developers@lists.sourceforge.netSubject: [nant-dev] "Internal 
  Error" during build.
  
  
  I’m trying to set up NAnt but I 
  can’t build because I keep receiving the same error 
  message:
   
  BUILD 
  FAILED
   
  INTERNAL 
  ERROR
   
  System.ComponentModel.Win32Exception: 
  The system cannot find the file specified
     at 
  System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo 
  startInfo)
     at 
  System.Diagnostics.Process.Start()
     at 
  System.Diagnostics.Process.Start(ProcessStartInfo 
  startInfo)
     at 
  NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments, 
  String strLogFile, Boolean bVerbose, Boolean 
  bShowCommands)
     at 
  NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArguments, 
  String logFile, Boolean verbose, Boolean 
  showCommands)
     at 
  NAnt.VSNet.Tasks.SolutionTask.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 nant-developers@lists.sourceforge.net.
   
   
   
  Any help would be greatly 
  appreciated.
   
  Thanks,David


RE: [nant-dev] Build failure when using Infragistics

2005-05-03 Thread Gert Driesen
Title: Build failure when using Infragistics



Hi Edwin,
 
Can you send me a small repro for this issue 
?
 
Thanks !
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: woensdag 27 april 2005 
  10:32To: nant-developers@lists.sourceforge.netSubject: 
  [nant-dev] Build failure when using Infragistics
  
  We are using Infragistics 
  Netadvantage 2005 in one of our Windows forms projects. When we try to compile the solution using NAnt 
  we get the following error: 
  BUILD FAILED     
      
  INTERNAL ERROR     
      
  System.IO.FileLoadException: Assembly 
  infragistics.shared.v5.1.dll already loaded without additional security 
  evidence.
  File name: 
  "infragistics.shared.v5.1.dll" 
  Server stack trace:    at 
  System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, 
  Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, 
  Assembly locationHint, StackCrawlMark& stackMark)
     at 
  System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean 
  stringized, Evidence assemblySecurity, StackCrawlMark& 
  stackMark)
     at 
  System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence 
  securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm 
  hashAlgorithm)
     at 
  NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask, 
  String licenseFile)    at 
  System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase 
  mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, 
  Object[]& outArgs)
     at 
  System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 
  msg, Int32 methodPtr, Boolean fExecuteInContext)
  Exception rethrown at [0]:    at 
  System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, 
  IMessage retMsg)    at 
  System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
  msgData, Int32 type)    
  at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask 
  licenseTask, String licenseFile)    at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() 
     at 
  NAnt.Core.Task.Execute()    at NAnt.VSNet.Resource.CompileLicx()    at 
  NAnt.VSNet.Resource.Compile(ConfigurationSettings configurationSettings, 
  Boolean showCommands)    
  at NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments, 
  String strLogFile, Boolean bVerbose, Boolean bShowCommands)
     at 
  NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArguments, 
  String logFile, Boolean verbose, Boolean showCommands)
     at 
  NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()    at NAnt.Core.Task.Execute() 
     at 
  NAnt.Core.Target.Execute()    at NAnt.Core.Project.Execute(String targetName, Boolean 
  forceDependencies)    at 
  NAnt.Core.Tasks.CallTask.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 [EMAIL PROTECTED] 
      
      
  Total time: 12 seconds. 
  Is this a bug in NAnt or are we doing 
  something wrong? In both cases, help is very much appreciated. 
  Regards Edwin Treur 
  
  Toelichting bij dit 
  e-mail bericht:Dit bericht is slechts bestemd voor de geadresseerde en kan 
  informatie bevatten die persoonlijk en/of vertrouwelijk is en die niet 
  openbaar mag worden gemaakt. Indien u niet zelf de geadresseerde bent, wordt u 
  erop gewezen dat verdere verspreiding, openbaarmaking of vermenigvuldiging van 
  dit bericht verboden is. Indien u dit bericht per vergissing hebt ontvangen, 
  verzoek ik u mij zo snel mogelijk op de hoogte te stellen en het originele 
  bericht en eventuele kopieen ervan, te verwijderen. Dank voor uw medewerking. 
  Hoe Unive het medium internet beschouwt als informatiedrager kunt u lezen op 
  deze pagina. Unive kan niet garanderen dat een verzonden e-mailbericht vrij is 
  van virussen, noch dat e-mailberichten worden overgebracht zonder inbreuk door 
  of tussenkomst van onbevoegde 
  derden.De woorden 
  [deze pagina] in de voorlaatste regel zijn de verwijzing naar de tekst op de 
  website. 
  


RE: [nant-dev] Error on building nant

2005-05-03 Thread Gert Driesen
Brecht,

This has since been fixed (in cvs).

Thanks for the report !

Gert 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Brecht Yperman
> Sent: maandag 2 mei 2005 15:30
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Error on building nant
> 
> Using: nmake -f Makefile.nmake install prefix="c:\Program Files"
> 
> On:
> OS: Windows XP Professional SP 2
> .NET Framework v. version 1.1.4322.573
> 
> In the Visual Studio .NET 2003 command Prompt
> 
> 
> 
> Output:
>   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:\Program Files"
> 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:/NANT-0~1.85-/NAnt.build
> Target framework: Microsoft .NET Framework 1.1
> Target(s) specified: install 
> 
>[tstamp] maandag 2 mei 2005 15:23:43.
> 
> init:
> 
> 
> debug:
> 
> 
> set-framework-configuration:
> 
> 
> set-net-1.1-framework-configuration:
> 
> 
> build:
> 
>  [echo] Build Directory is
> C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug
> [mkdir] Creating directory
> 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'.
> [mkdir] Creating directory
> 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'.
>  [copy] Copying 2 files to
> 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'.
>  [copy] Copying 34 files to
> 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'.
>  [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build
> Buildfile:
> file:///C:/NANT-0~1.85-/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:   resource 
> file name:
> Strings.resources  assembly: NAnt.DotNetTasks, Version=0.85.1932.0,
> Culture=neutral, PublicKeyToken=null
>at
> System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
>

[nant-dev] [ nant-Bugs-1188394 ] NAnt fails to compile if XML Documentation File entry is set

2005-05-03 Thread SourceForge.net
Bugs item #1188394, was opened at 2005-04-23 01:42
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1188394&group_id=31650

Category: Core
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: rgelb (rgelb)
>Assigned to: Gert Driesen (drieseng)
Summary: NAnt fails to compile if XML Documentation File entry is set

Initial Comment:
NAnt fails to compile if XML Documentation File entry
is set in the Project Properties.

The project is in C#.  Here is the error:

BUILD FAILED

Could not find file 'D:\build\working\Web
Server\Test1.xml' to copy.

If I then go into project properties and remove the
entry for 'XML Documentation File', NAnt compiles it fine.

Here is the version information:
NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

And I am going against .NET 1.1

--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 21:04

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs and will be available in the next 
nightly build.

--

Comment By: rgelb (rgelb)
Date: 2005-04-28 01:00

Message:
Logged In: YES 
user_id=1184475

Here is repro.  It seems that neither rc2 or rc3 actually
generates XML documentation when compiling.  Then it just
expects to find the xml doc file to be copied.  Sample attached.

--

Comment By: Gert Driesen (drieseng)
Date: 2005-04-26 02:48

Message:
Logged In: YES 
user_id=707851

Can you attach a small repro to this bug report (or send it to 
me: [EMAIL PROTECTED])

--

Comment By: rgelb (rgelb)
Date: 2005-04-23 02:13

Message:
Logged In: YES 
user_id=1184475

One more item I neglected to mention: 

I am compiling in release mode, thus the XML Documentation
File is set for the Release compile configuration.  

.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1188394&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] Nant-085-rc3 build doesn't work

2005-05-03 Thread Gert Driesen
Hi Espen, 

This was fixed since (in cvs).

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Espen Frimann Koren
> Sent: maandag 18 april 2005 9:59
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Nant-085-rc3 build doesn't work
> 
> Hi.
> 
> I can install the binary version, so it is not a very 
> important problem,
> but the build does not work for me. It seems like the 
> bootstrap is built
> correctly, but when running the following task:
> 
> [nant] P:\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
> 
> I get the following error:
> 
> 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:   resource 
> file name:
> Strings.resources  assembly: NAnt.DotNetTasks, Version=0.85.1932.0,
> Culture=neutral, PublicKeyToken=null
> 
> In Makefile.nmake the Strings.resource is not embedded into
> NAnt.DotNetTasks, but into NAnt.Core. I tried to embed it into
> NAnt.DotNetTasks too, but then I got a different error.
> 
> When running the following lines of code on my system (XP Prof., .NET
> 1.1 SP1):
> 
>   
> Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture);
>   
> Console.WriteLine(System.Globalization.CultureInfo.CurrentUICulture);
> 
> I get:
> 
> nb-NO
> en-US
> 
> The stack trace from the error:
> 
>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
> [EMAIL PROTECTED]
> 
> 
> Med vennlig hilsen
>  
> Espen Frimann Koren
> Utviklingssjef
> ---
> INFOSOFT AS, Brynsengveien 10, Postboks 6184 Etterstad, N-0606 OSLO
> Mob. +47 952 08 753  Sen.bord +47 23 89 70 80  Faks +47 22 72 46 52
> E-mail: [EMAIL PROTECTED]
> 
> 
> ---
> 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
> nant-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> 



---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1190966 ] C++ /clr option ignored on file basis

2005-05-03 Thread SourceForge.net
Bugs item #1190966, was opened at 2005-04-27 14:41
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190966&group_id=31650

Category: Tasks
>Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Grarl (grarl)
>Assigned to: Gert Driesen (drieseng)
Summary: C++ /clr option ignored on file basis

Initial Comment:
I have one file that needs to be compiled with managed 
support. My project as a whole does not use the /clr, 
only this file.
This builds fine in VStudio, but NAnt will not honor 
the /clr option that is set on only this file.


--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 17:48

Message:
Logged In: YES 
user_id=707851

This is now committed in cvs.

Thanks for the report, repro and the "patch" !

--

Comment By: Grarl (grarl)
Date: 2005-04-27 22:29

Message:
Logged In: YES 
user_id=1235618

To fix this, change VcArgumentMap.cs as follows:
In the CreateCLArgumentMap() function add
  map.AddEnum("CompileAsManaged", null, null, null, "/clr" );
to the General section; following DebugInformationFormat if 
you want to use the same order as in the config dialog of 
VStudio.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190966&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] 0.85 RC3 - log4net not matching assembly reference

2005-05-03 Thread Morris, Jason
I believe that this was the same problem that I ran in to.  Gert has posted a 
fix for this, but you will have to download a nightly build.  The first one 
that I got to work was the nightly on 20-Apr.

Jason

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Kristján Guðni Bjarnason
>Sent: Monday, April 18, 2005 5:10 PM
>To: nant-developers@lists.sourceforge.net
>Subject: [nant-dev] 0.85 RC3 - log4net not matching assembly reference
>
>Hi,
>
>Downloaded NAnt 0.85 Release Candidate 3 earlier today and now 
>creating my first .build file.  One of the first tasks I tried 
>was to run cvs-pass and for some reason I always get internal 
>error.  My target is like this:
>
>
> password=""
> passfile="C:\cvspass.txt" />
>
>
>And the Internal Error is the following.  Note I am using 
>log4net in my msdev solution.  Hope you can help.
>
>Kristjan
>
>
>System.IO.FileLoadException: The located assembly's manifest 
>definition with name 'log4net' does not match the assembly reference.
>
>File name: "log4net"
>   at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo
>workingDir)
>   at NAnt.SourceControl.Tasks.CvsPass.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()
>
>=== Pre-bind state information ===
>LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral,
>PublicKeyToken=b32731d11ce58905
> (Fully-specified)
>LOG: Appbase = C:\Program Files\NAnt\nant-0.85-rc3\bin\
>LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net Calling 
>assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334, 
>Culture=neutral, PublicKeyToken=null.
>===
>
>LOG: Private path hint found in configuration file: lib.
>LOG: Publisher policy file is not found.
>LOG: Host configuration file not found.
>LOG: Using machine configuration file from 
>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
>LOG: Post-policy reference: log4net, Version=1.2.9.0, Culture=neutral,
>PublicKeyToken=b32731d11ce58905
>LOG: Attempting download of new URL file:///C:/Program 
>Files/NAnt/nant-0.85-rc3/bin/log4net.DLL.
>WRN: Comparing the assembly name resulted in the mismatch: 
>Revision Number
>
>
>
>---
>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=20 
>___
>nant-developers mailing list
>nant-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nant-developers
>


---
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
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1187374 ] Invalid ResX input

2005-05-03 Thread SourceForge.net
Bugs item #1187374, was opened at 2005-04-21 15:45
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187374&group_id=31650

Category: Other
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: tkocian (tkocian)
Assigned to: Nobody/Anonymous (nobody)
Summary: Invalid ResX input

Initial Comment:
During building I got the following error message:

[solution] Building 'RSM.Cash.Common' [Debug] ...
   [resgen] error: Invalid ResX input.
   [resgen] error: Specific exception: 
XmlException  Message: Invalid ResX input. ---> 
XmlException: There is no Unicode byte order mark. 
Cannot switch to Unicode.
   [resgen] 2 error(s).

BUILD FAILED - 0 non-fatal error(s), 4 warning(s)

External Program Failed: C:\Program Files\Microsoft 
Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe 
(return code was -1163019603)

Is there a workaround for it? I'm using version 0.85 rc3.
Thanks for your help
Tomas

--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 17:21

Message:
Logged In: YES 
user_id=707851

Can you send me a small repro for this issue ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187374&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1190785 ] .resx version problem

2005-05-03 Thread SourceForge.net
Bugs item #1190785, was opened at 2005-04-27 08:05
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&group_id=31650

>Category: Core
>Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Blum (rblum)
>Assigned to: Gert Driesen (drieseng)
Summary: .resx version problem

Initial Comment:
If you rebuild a nant-target while having Whidbey 
(current beta) installed, .resx files seem to get built
in the Whidbey format - subsequent runs of the
executable complain about .resx files being in version
2 instead of version 1.

Any workarounds for this?

(Last tested with 2005-04-20 nightly)

--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 17:21

Message:
Logged In: YES 
user_id=707851

NAnt 0.85 will always target the latest installed (and 
supported) version of the .NET Framework.

To explicitly target a specific version of .NET in your build file, 
you can just set the nant.settings.currentframework property 
to the identifier of the framework that you want to target.

eg.



The strange thing about your report is that the assembly 
should in fact also be a .NET 2.0 assembly, so it should run 
just fine (on systems where Whidbey is installed).

Can you verify this behaviour again, and if possible send me 
a repro (including prebuild binaries) ?

--

Comment By: Robert Blum (rblum)
Date: 2005-04-27 08:46

Message:
Logged In: YES 
user_id=25786

Specifying the defaultframework on the commandline helps -
however, other tasks still seem to use the 1.1 framework -
only the resx building skips ahead and uses the latest,
greatest, and shiniest.

Any way to *force* the defaultframework to 1.1? I'd rather
not have my users type endless command lines - "nant build"
was a hard enough sell ;)

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1192677 ] ReplaceTokens does not allow empty values

2005-05-03 Thread SourceForge.net
Bugs item #1192677, was opened at 2005-04-29 22:09
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192677&group_id=31650

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: GWSyZyGy (gwsyzygy)
>Assigned to: Gert Driesen (drieseng)
Summary: ReplaceTokens does not allow empty values

Initial Comment:
When performing token replacements, any token 
containing only whitespace will fail with the message:

' ' is not a valid value for attribute 'value' of .
An empty value is not allowed.

For example:
===



--









Have tried value="" (empty), value=" " (space), value=" " 
(tab), value=" ", value=" ", value="
", 
value="
" ... none will work.

--

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 17:14

Message:
Logged In: YES 
user_id=707851

This was actual by design, but I've now "fixed" this in cvs.

Thanks for the report !

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192677&group_id=31650


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] "Internal Error" during build.

2005-05-03 Thread David Trumbell








I’m trying to set up NAnt but I can’t build
because I keep receiving the same error message:

 

BUILD FAILED

 

INTERNAL ERROR

 

System.ComponentModel.Win32Exception: The system cannot find
the file specified

   at
System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo
startInfo)

   at NAnt.VSNet.Project.Compile(String configuration,
ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean
bShowCommands)

   at NAnt.VSNet.Solution.Compile(String configuration,
ArrayList compilerArguments, String logFile, Boolean verbose, Boolean
showCommands)

   at NAnt.VSNet.Tasks.SolutionTask.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 nant-developers@lists.sourceforge.net.

 

 

 

Any help would be greatly appreciated.

 

Thanks,
David








[nant-dev] Error on building nant

2005-05-03 Thread Brecht Yperman
Using: nmake -f Makefile.nmake install prefix="c:\Program Files"

On:
OS: Windows XP Professional SP 2
.NET Framework v. version 1.1.4322.573

In the Visual Studio .NET 2003 command Prompt



Output:
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:\Program Files"
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:/NANT-0~1.85-/NAnt.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: install 

   [tstamp] maandag 2 mei 2005 15:23:43.

init:


debug:


set-framework-configuration:


set-net-1.1-framework-configuration:


build:

 [echo] Build Directory is
C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug
[mkdir] Creating directory
'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'.
[mkdir] Creating directory
'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'.
 [copy] Copying 2 files to
'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'.
 [copy] Copying 34 files to
'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'.
 [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///C:/NANT-0~1.85-/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:   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)
  

[nant-dev] Nant Error on ZIP Compression

2005-05-03 Thread Briggs, Jack @ CORP SEA



I'm getting the 
following error on using the Zip Task in NAnt v .85 rc 3 April 20, 2005 build. 
Any help on how to resolve this would be great. Thanks.
 
    
    
    


 
 
INTERNAL 
ERROR
 
System.IO.FileLoadException: The located assembly's 
manifest definition with name 'ICSharpCode.SharpZipLib' does not match the 
assembly reference.File name: "ICSharpCode.SharpZipLib"   at 
NAnt.Compression.Tasks.ZipTask.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()
 
=== Pre-bind 
state information ===LOG: DisplayName = ICSharpCode.SharpZipLib, 
Version=0.83.1.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 
(Fully-specified)LOG: Appbase = C:\NAnt\bin\LOG: Initial PrivatePath = 
lib;lib\net\1.1;lib\netCalling assembly : NAnt.CompressionTasks, 
Version=0.85.1932.0, 
Culture=neutral,PublicKeyToken=null.===
 
LOG: 
Private path hint found in configuration file: lib.LOG: Publisher policy 
file is not found.LOG: Host configuration file not found.LOG: Using 
machine configuration file from 
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.LOG: 
Post-policy reference: ICSharpCode.SharpZipLib, Version=0.83.1.0, 
Culture=neutral, PublicKeyToken=1b03e6acf1164f73LOG: Attempting download of 
new URL file:///C:/NAnt/bin/ICSharpCode.SharpZipLib.DLL.WRN: Comparing the assembly name resulted in the 
mismatch: Minor Version
 
Please send bug report to nant-developers@lists.sourceforge.net.
 
 
Jack Briggs
 


[nant-dev] Crash when using pkg-references

2005-05-03 Thread Pascal Giard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
~  i can't get pkg-references to work w/in a csc task.
i'm using mono under Debian GNU/Linux unstable.
Here's the output:
[...]
BUILD FAILED
INTERNAL ERROR
System.InvalidCastException: Cannot cast from source type to destination
type.
in <0x000b5> AttributeConfigurator:CreateChildBuildElement
(System.Reflection.PropertyInfo,System.Xml.XmlNode,NAnt.Core.PropertyDictionary,NAnt.Core.FrameworkInfo)
in <0x00309> AttributeConfigurator:InitializeChildElement
(System.Reflection.PropertyInfo)
in <0x000c2> AttributeConfigurator:Initialize ()
in <0x0004f> NAnt.Core.Element:InitializeXml
(System.Xml.XmlNode,NAnt.Core.PropertyDictionary,NAnt.Core.FrameworkInfo)
in <0x000e5> NAnt.Core.Element:Initialize
(System.Xml.XmlNode,NAnt.Core.PropertyDictionary,NAnt.Core.FrameworkInfo)
in <0x00079> NAnt.Core.Element:Initialize (System.Xml.XmlNode)
in <0x00076> NAnt.Core.Project:CreateTask
(System.Xml.XmlNode,NAnt.Core.Target)
in <0x0020c> NAnt.Core.Target:Execute ()
in <0x000cd> NAnt.Core.Project:Execute (string,bool)
in <0x00395> NAnt.Core.Project:Execute ()
in <0x0017c> NAnt.Core.Project:Run ()
Please send bug report to [EMAIL PROTECTED]
[...]
snippet from my xbgmsharp.build:
~
~
~  

  



  

~  
~
if i comment out pkg-references, it doesn't crash [but shows an error
about Gtk.Window of course].
i'm attaching the good and bad logs ;)
- -Pascal
PS: i noticed http://sourceforge.net/mailarchive/message.php?msg_id=8807296
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZ0sO1Lfd97FsypURAmz7AKCw13PCe0ZXDd01Wb7RyzIGIWxzSgCgvkg0
fIOtYWX6/vB/gwuiRpte2fY=
=KM8A
-END PGP SIGNATURE-
Compat mode: the request from /usr/share/dotnet/bin/nant/log4net.dll to load System was remapped (http://www.go-mono.com/remap.html)
Compat mode: the request from /usr/share/dotnet/bin/nant/log4net.dll to load System.Data was remapped (http://www.go-mono.com/remap.html)
Compat mode: the request from /usr/share/dotnet/bin/nant/log4net.dll to load System.Web was remapped (http://www.go-mono.com/remap.html)
NAnt 0.0.0.0 (Build 0.0.0.0; ; 2000-01-01)

[loadtasks] Scanning assembly "NAnt.Compression.Tests" for extensions.
[loadtasks] Scanning assembly "NAnt.CompressionTasks" for extensions.
[loadtasks] Creating TaskBuilder for "TarTask".
[loadtasks] Adding "tar" from /usr/share/dotnet/bin/nant/NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.TarTask.
[loadtasks] Creating TaskBuilder for "UnZipTask".
[loadtasks] Adding "unzip" from /usr/share/dotnet/bin/nant/NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.UnZipTask.
[loadtasks] Creating TaskBuilder for "ZipTask".
[loadtasks] Adding "zip" from /usr/share/dotnet/bin/nant/NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.ZipTask.
[loadtasks] Scanning assembly "NAnt.Core.Tests" for extensions.
[loadtasks] Creating TaskBuilder for "TestTask".
[loadtasks] Adding "testtask" from /usr/share/dotnet/bin/nant/NAnt.Core.Tests.dll:Tests.NAnt.Core.Util.XmlLoggerTest+TestTask.
[loadtasks] Creating TaskBuilder for "ElementTest1Task".
[loadtasks] Adding "elementTest1" from /usr/share/dotnet/bin/nant/NAnt.Core.Tests.dll:Tests.NAnt.Core.ElementTest1Task.
[loadtasks] Creating TaskBuilder for "TestTask".
[loadtasks] Adding "test" from /usr/share/dotnet/bin/nant/NAnt.Core.Tests.dll:Tests.NAnt.Core.TestTask.
[loadtasks] Scanning assembly "NAnt.DotNet.Tests" for extensions.
[loadtasks] Scanning assembly "NAnt.DotNetTasks" for extensions.
[loadtasks] Creating TaskBuilder for "AssemblyInfoTask".
[loadtasks] Adding "asminfo" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.AssemblyInfoTask.
[loadtasks] Creating TaskBuilder for "AssemblyLinkerTask".
[loadtasks] Adding "al" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.AssemblyLinkerTask.
[loadtasks] Creating TaskBuilder for "CscTask".
[loadtasks] Adding "csc" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.CscTask.
[loadtasks] Creating TaskBuilder for "DelaySignTask".
[loadtasks] Adding "delay-sign" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.DelaySignTask.
[loadtasks] Creating TaskBuilder for "IlasmTask".
[loadtasks] Adding "ilasm" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.IlasmTask.
[loadtasks] Creating TaskBuilder for "JscTask".
[loadtasks] Adding "jsc" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.JscTask.
[loadtasks] Creating TaskBuilder for "LicenseTask".
[loadtasks] Adding "license" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.LicenseTask.
[loadtasks] Creating TaskBuilder for "NDocTask".
[loadtasks] Adding "ndoc" from /usr/share/dotnet/bin/nant/NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.NDocTask.
[loadtasks] Creating TaskBuilder for "RegsvcsTask".
[loadtasks] Adding "regsvcs" from /usr/share/do

[nant-dev] (no subject)

2005-05-03 Thread stef.spikker






BUILD FAILED


INTERNAL ERROR


System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID

{3A593178-644A-11D7-B316-0800209CC2CE} is either not valid or not registered.

   at NAnt.Contrib.Tasks.StarTeam.StarTeamTask.openView()

   at NAnt.Contrib.Tasks.StarTeam.TreeBasedTask.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 [EMAIL PROTECTED]


Total time: 0.1 seconds.





[nant-dev] Build failure when using Infragistics

2005-05-03 Thread E.Treur
Title: Build failure when using Infragistics







We are using Infragistics Netadvantage 2005 in one of our Windows forms projects.

When we try to compile the solution using NAnt we get the following error:



BUILD FAILED

    

    INTERNAL ERROR

    

    System.IO.FileLoadException: Assembly infragistics.shared.v5.1.dll already loaded without additional security evidence.

File name: "infragistics.shared.v5.1.dll"


Server stack trace: 

   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)

   at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask, String licenseFile)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask, String licenseFile)

   at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.VSNet.Resource.CompileLicx()

   at NAnt.VSNet.Resource.Compile(ConfigurationSettings configurationSettings, Boolean showCommands)

   at NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)

   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArguments, String logFile, Boolean verbose, Boolean showCommands)

   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)

   at NAnt.Core.Tasks.CallTask.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 [EMAIL PROTECTED]

    

    Total time: 12 seconds.



Is this a bug in NAnt or are we doing something wrong? In both cases, help is very much appreciated.


Regards

Edwin Treur


Toelichting bij dit e-mail bericht:Dit bericht is slechts bestemd voor de geadresseerde en kan informatie bevatten die persoonlijk en/of vertrouwelijk is en die niet openbaar mag worden gemaakt. Indien u niet zelf de geadresseerde bent, wordt u erop gewezen dat verdere verspreiding, openbaarmaking of vermenigvuldiging van dit bericht verboden is. Indien u dit bericht per vergissing hebt ontvangen, verzoek ik u mij zo snel mogelijk op de hoogte te stellen en het originele bericht en eventuele kopieen ervan, te verwijderen. Dank voor uw medewerking. Hoe Unive het medium internet beschouwt als informatiedrager kunt u lezen op deze pagina. Unive kan niet garanderen dat een verzonden e-mailbericht vrij is van virussen, noch dat e-mailberichten worden overgebracht zonder inbreuk door of tussenkomst van onbevoegde derden.De woorden [deze pagina] in de voorlaatste regel zijn de verwijzing naar de tekst op de website.


Re: [nant-dev] FW: [Nant-users] How to generate the doc on demand?

2005-05-03 Thread Julien Sobrier
Gary Feldman a écrit :
This looks like a good idea, but could be difficult to do generally 
across all tasks.

In the meantime, a simple approach that works today is to duplicate the 
task invocation with if/unless attributes, and use a property to 
indicate which to do:
 In the setup targets:


 In the build targets:
   
   
It's annoyingly verbose, but I use this idiom frequently.
Gary

Hello,
can this really work? You have to embed the source files between 
:







I don't see how I can use .

Thank you
Julien

---
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
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Bug: nant 0.85 RC3

2005-05-03 Thread Jacob Anderson
BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: The located assembly's manifest definition with
name 'log4net' does not match the assembly reference.
File name: "log4net"
   at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo
workingDir)

   at NAnt.SourceControl.Tasks.CvsPass.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()

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral,
PublicKeyToken=b32731d11ce58905
 (Fully-specified)
LOG: Appbase = c:\nant\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334,
Culture=neutral, PublicKeyToken=null.
===

LOG: Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: log4net, Version=1.2.9.0, Culture=neutral,
PublicKey Token=b32731d11ce58905
LOG: Attempting download of new URL file:///c:/nant/bin/log4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number


Please send bug report to [EMAIL PROTECTED]

Total time: 0.3 seconds.


 _   _  |Beyond Ordinary Software Solutions|
|  _  \ /  _  \ |---
| |_| | | | | | |Jacob W AndersonConsultant|
|  _  { | | | | |E: [EMAIL PROTECTED]|
| |_| | | |_| | |P: 858-361-2384   |
|_/ \_/ |W: http://www.beyond-ordinary.com |
|   |Toll Free: 1-866-461-5253 |

.O. | Beyond Ordinary is a California Corporation  |
..O | based in San Diego, CA.  |
OOO | -*- Certified Java 2 Programmer -*-  |

| Need a Job? http://www.accessquery.com   |

If you think it's expensive to hire a professional to 
do the job, wait until you hire an amateur.
-- Red Adair 
 




---
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
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] SVN Check Out Problem.

2005-05-03 Thread liyu








Dear All,

 

I have nant build file for svn check out for my build.

 

However it gave some errors and the message displayed

 

"Please send bug report to
nant-developers@lists.sourceforge.net"

 

The output log file and NANT build script files are
attached.

 

 

 

I request you all to provide me with solution for this
problem.

 

 

 

Thanks

 

Kindsandy

 

 

 

My Build File:

 




 



 

   

 

  


 

   

 



 

 

 

Error Message:

 

INTERNAL ERROR

 

 

 

System.NullReferenceException: 未将对象引用设置到对象的实例。

 

   at
NAnt.Contrib.Tasks.Svn.AbstractSvnTask.get_ExeName()

 

   at
NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath() in

C:\Documents an

 

d Settings\drieseng\Local

Settings\Temp\tmp460.tmp\src\NAnt.Core\Tasks\ExternalP

 

rogramBase.cs:line 483

 

   at
NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName() in

C:\Documents

 

and Settings\drieseng\Local

Settings\Temp\tmp460.tmp\src\NAnt.Core\Tasks\Externa

 

lProgramBase.cs:line 107

 

   at
NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in C:\Documents and

Sett

 

ings\drieseng\Local

Settings\Temp\tmp460.tmp\src\NAnt.Core\Tasks\ExternalProgram

 

Base.cs:line 319

 

   at NAnt.Core.Task.Execute() in
C:\Documents and Settings\drieseng\Local

Setti

 

ngs\Temp\tmp460.tmp\src\NAnt.Core\Task.cs:line 177

 

   at NAnt.Core.Target.Execute() in
C:\Documents and Settings\drieseng\Local

Set

 

tings\Temp\tmp460.tmp\src\NAnt.Core\Target.cs:line 249

 

   at NAnt.Core.Project.Execute(String
targetName, Boolean

forceDependencies) in

 

 C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp460.tmp\src\NAnt.

Core

 

\Project.cs:line 876

 

   at NAnt.Core.Project.Execute() in
C:\Documents and

Settings\drieseng\Local Se

 

ttings\Temp\tmp460.tmp\src\NAnt.Core\Project.cs:line
833

 

   at NAnt.Core.Project.Run() in
C:\Documents and Settings\drieseng\Local

Settin

 

gs\Temp\tmp460.tmp\src\NAnt.Core\Project.cs:line 902








[nant-dev] Nant-085-rc3 build doesn't work

2005-05-03 Thread Espen Frimann Koren
Hi.

I can install the binary version, so it is not a very important problem,
but the build does not work for me. It seems like the bootstrap is built
correctly, but when running the following task:

[nant] P:\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build

I get the following error:

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:   resource file name:
Strings.resources  assembly: NAnt.DotNetTasks, Version=0.85.1932.0,
Culture=neutral, PublicKeyToken=null

In Makefile.nmake the Strings.resource is not embedded into
NAnt.DotNetTasks, but into NAnt.Core. I tried to embed it into
NAnt.DotNetTasks too, but then I got a different error.

When running the following lines of code on my system (XP Prof., .NET
1.1 SP1):


Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture);

Console.WriteLine(System.Globalization.CultureInfo.CurrentUICulture);

I get:

nb-NO
en-US

The stack trace from the error:

   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
[EMAIL PROTECTED]


Med vennlig hilsen
 
Espen Frimann Koren
Utviklingssjef
---
INFOSOFT AS, Brynsengveien 10, Postboks 6184 Etterstad, N-0606 OSLO
Mob. +47 952 08 753  Sen.bord +47 23 89 70 80  Faks +47 22 72 46 52
E-mail: [EMAIL PROTECTED]


---
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
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] 0.85 RC3 - log4net not matching assembly reference

2005-05-03 Thread Kristján Guðni Bjarnason
Hi,
Downloaded NAnt 0.85 Release Candidate 3 earlier today and now creating 
my first .build file.  One of the first tasks I tried was to run 
cvs-pass and for some reason I always get internal error.  My target is 
like this:

   
   
   
And the Internal Error is the following.  Note I am using log4net in my 
msdev solution.  Hope you can help.

Kristjan
System.IO.FileLoadException: The located assembly's manifest definition 
with name 'log4net' does not match the assembly reference.

File name: "log4net"
  at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo 
workingDir)
  at NAnt.SourceControl.Tasks.CvsPass.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()

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral, 
PublicKeyToken=b32731d11ce58905
(Fully-specified)
LOG: Appbase = C:\Program Files\NAnt\nant-0.85-rc3\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334, 
Culture=neutral, PublicKeyToken=null.
===

LOG: Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from 
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: log4net, Version=1.2.9.0, Culture=neutral, 
PublicKeyToken=b32731d11ce58905
LOG: Attempting download of new URL file:///C:/Program 
Files/NAnt/nant-0.85-rc3/bin/log4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number


---
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=20
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] rc3 bootstrap

2005-05-03 Thread Gert Driesen
Hi Martin,

This was fixed after the rc3 release.

Thanks for reporting it anyway !

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Martin Aliger
> Sent: maandag 2 mei 2005 10:53
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] rc3 bootstrap
> 
> 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:   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:
>