RE: [nant-dev] NAnt Exception

2004-11-30 Thread Gert Driesen
Mark,

I have a fix for this (and some other regressions in our VC++ support)
locally. It just needs a little more testing.

I'll let you know when there's a nightly build available that contains a fix
for your issue.

Gert

 -Original Message-
 From: Mark Henry [mailto:[EMAIL PROTECTED] 
 Sent: maandag 29 november 2004 18:14
 To: Gert Driesen
 Cc: [EMAIL PROTECTED]
 Subject: Re: [nant-dev] NAnt Exception
 
 Hey, sorry for taking so long in getting back to you.  Turns out we 
 found a workaround for the devenv problem so we've been using 
 that for 
 now.  In any case, I just downloaded 0.85-rc1 and tried that. 
  It still 
 doesn't work.  We ran into a bug in .Net's XML classes 
 ourselves - I'd 
 have to ask my co-worker exactly what the problem was (I'm not an XML 
 guru, and the only reason I bring that up is because something XML 
 related is in the stack trace).  Here's what nant is reporting:
 
 NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004)
 Copyright (C) 2001-2004 Gerry Shaw
 http://nant.sourceforge.net
 
 Buildfile: file:///D:/projects/mhenry/ke5/ke5.build
 Target(s) specified: build
 
 
 build:
 
 D:\projects\mhenry\ke5\ke5.build(14,14): Element includes... / for 
 fileset... / is deprecated. Use include element instead.
  [solution] Starting solution build.
 
 BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
 
 INTERNAL ERROR
 
 System.ArgumentNullException: Value cannot be null.
 Parameter name: projectSettings
at NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, 
 ReferencesResolver referencesResolver, ProjectBase parent, 
 SolutionBase 
 solution, ProjectSetti ngs projectSettings, GacCache gacCache, 
 DirectoryInfo outputDir)
at 
 NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, 
 ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache 
 gacCache, ReferencesResolver referencesResolver, ProjectBase parent, 
 DirectoryInfo outputDir)
at NAnt.VSNet.VcProject..ctor(SolutionBase solution, String 
 projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, 
 TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
 refResolver, DirectoryInfo outputDir)
at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, 
 SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
 ReferencesResolver referencesResolver, DirectoryInfo 
 outputDir, String 
 projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, 
 SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
 ReferencesResolver referencesResolver, DirectoryInfo 
 outputDir, String path)
at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, 
 ReferencesResolver refResolver)
at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, 
 SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
 ReferencesResolver refResolver)
at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask 
 solutionTask, 
 TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
 refResolver)
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 [EMAIL PROTECTED]
 
 Total time: 0.9 seconds.
 
 -Mark-
 
 
 Gert Driesen wrote:
 
 Mark,
 
 Can you try to use the latest nightly build and send me the 
 full error
 message that you get ?
 
 I recently rewrote a large part of the solution task.
 
 Gert
 
 - Original Message - 
 From: Mark Henry [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, November 15, 2004 5:00 PM
 Subject: Re: [nant-dev] NAnt Exception
 
 
   
 
 Well, I can't give you the sources, since this isn't a 
 personal project
 - it's for my employer.  However, I'll try to re-create the 
 problem in a
 new solution.
 
 -Mark-
 
 
 Gert Driesen wrote:
 
 
 
 Mark,
 
 I need a small solution (including project files and 
 sources) in order to
 reproduce this issue.
 
 Gert
 
 
 
   
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Mark Henry
 Sent: donderdag 11 november 2004 21:43
 To: [EMAIL PROTECTED]
 Subject: [nant-dev] NAnt Exception
 
 We're trying to use nant to compile a solution from the 
 command line
 (since devenv has serious issues doing that itself).  
 However, nant
 continually crashes when reading the solution file.  It 
 appears nant
 doesn't like the mix of managed C++ and C# projects that we
 have going.
 I've tried both the current release of nant as well as the lastest
 nightly build (Nov. 10th).  Both get the same exception and pasted
 below.  I've also attached the solution file itself and the
 nant build
 file.  The build target is what causes the crash.  The
 various other
 targets are working fine and aren't an issue.  I added a
 

[nant-dev] call task

2004-11-30 Thread Giuseppe Greco
Hi all,

it seems there is a problem with the call task:

call
target=myTarget
unless=${file::exists('myDirectory/myFile.cs')} /

In the example above, myTarget should be invoked if and
only if the file myDirectory/myFile.cs does not exist...
but it is not the case. To get the desired behavior, I
have to modify the task as following:

call
target=myTarget
if=${file::exists('myDirectory/myFile.cs')} /

... but in this case, myTarget should be executed if and
only if myDirectory/myFile.cs does exist...

j3d.


Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Issue with solution task and project reference

2004-11-30 Thread Gert Driesen
Hi Gert,

What version of NAnt are you using ? If you can reproduce this issue using a
recent nightly build or the 0.85 RC1 release, then please submit a bug
report containing a detailed description and a small repro (as small as
possible).

Thanks !

Gert
- Original Message - 
From: Gert Kello [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 12:20 PM
Subject: [nant-dev] Issue with solution task and project reference


 Hi.

 I just joined the list, so I apalogise if the issue has been discussed
 allreday (A quick review from archive didn't bring it up).

 I have problems with solution task:

 I have a project, with file name like SomeTask.csproj. Inside the
 project file, the assmbly name is overridden with
 AssemblyName = CompanyName.SomeTask

 When I try to build a set of projects like this which have dependencies,
 the nant complains about not beeing able to find referenced assembly
 (and the build order is wrong). Is this problem known? I might try to
 fix it, but I'm not familiar to the nant, so (it could take a long)

 -- 
 Gert



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1075959 ] call task

2004-11-30 Thread SourceForge.net
Bugs item #1075959, was opened at 2004-11-30 13:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1075959group_id=31650

Category: Core
Group: cvs
Status: Open
Resolution: None
Priority: 5
Submitted By: Giuseppe Greco (j3d)
Assigned to: Nobody/Anonymous (nobody)
Summary: call task

Initial Comment:
Giving the task

call
target=myTarget
unless=${file::exists('myDirectory/myFile.cs')} /

myTarget is invoked when the file myDirectory/myFile.cs
does exist, while giving the task

call
target=myTarget
if=${file::exists('myDirectory/myFile.cs')} /

myTarget is invoked when the file myDirectory/myFile.cs
does *NOT* exist.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1075959group_id=31650


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] call task

2004-11-30 Thread Giuseppe Greco
Done,
j3d.

 Hi Giuseppe,

 Can you submit a bug report for this ?

 Thanks !

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, November 30, 2004 11:42 AM
 Subject: [nant-dev] call task


 Hi all,

 it seems there is a problem with the call task:

 call
 target=myTarget
 unless=${file::exists('myDirectory/myFile.cs')} /

 In the example above, myTarget should be invoked if and
 only if the file myDirectory/myFile.cs does not exist...
 but it is not the case. To get the desired behavior, I
 have to modify the task as following:

 call
 target=myTarget
 if=${file::exists('myDirectory/myFile.cs')} /

 ... but in this case, myTarget should be executed if and
 only if myDirectory/myFile.cs does exist...

 j3d.

 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://productguide.itmanagersjournal.com/
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://productguide.itmanagersjournal.com/
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1076015 ] solution task and project reference parsing

2004-11-30 Thread SourceForge.net
Bugs item #1076015, was opened at 2004-11-30 16:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1076015group_id=31650

Category: None
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Gert Kello (gkello)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task and project reference parsing

Initial Comment:
I have a project, with file name like
Lib_General.csproj. Inside the project file, the
assmbly name is overridden with AssemblyName =
MyCompany.Lib_General

Another project, named Lib_Specific, has reference to
this project. But not as project reference, but as
usual reference to assembly 
Reference
  Name = MyCompany.Lib_General
  AssemblyName = MyCompany.Lib_General
  HintPath = ..
/

When I try to build a solution (using solution task)
which includes lib_General project and Lib_Specific
project, whene compiling the lib_specific, nant
complains about not beeing able to find referenced
assembly MyCompany.Lib_General (and the build order
is wrong).

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1076015group_id=31650


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Issue with solution task and project reference

2004-11-30 Thread Gert Kello
Hi Gert ;)
I'm using 0.85 RC1. I did file a bug, and added an attachment..
Thanks!
Gert
Gert Driesen wrote:
Hi Gert,
What version of NAnt are you using ? If you can reproduce this issue using a
recent nightly build or the 0.85 RC1 release, then please submit a bug
report containing a detailed description and a small repro (as small as
possible).
Thanks !
Gert


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [nant-dev] NAnt Exception

2004-11-30 Thread Mark Henry
Excellent - thank you!
The various workarounds we tried for Visual Studio ended up having their 
own problems.  We've spent entirely too much time trying to get Visual 
Studio to cooperate, and if you can get me a program that can properly 
compile a solution file (which Microsoft apparently failed to do), that 
would be amazingly great...

-Mark-
Gert Driesen wrote:
Mark,
I have a fix for this (and some other regressions in our VC++ support)
locally. It just needs a little more testing.
I'll let you know when there's a nightly build available that contains a fix
for your issue.
Gert
 

-Original Message-
From: Mark Henry [mailto:[EMAIL PROTECTED] 
Sent: maandag 29 november 2004 18:14
To: Gert Driesen
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] NAnt Exception

Hey, sorry for taking so long in getting back to you.  Turns out we 
found a workaround for the devenv problem so we've been using 
that for 
now.  In any case, I just downloaded 0.85-rc1 and tried that. 
It still 
doesn't work.  We ran into a bug in .Net's XML classes 
ourselves - I'd 
have to ask my co-worker exactly what the problem was (I'm not an XML 
guru, and the only reason I bring that up is because something XML 
related is in the stack trace).  Here's what nant is reporting:

NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///D:/projects/mhenry/ke5/ke5.build
Target(s) specified: build
build:
D:\projects\mhenry\ke5\ke5.build(14,14): Element includes... / for 
fileset... / is deprecated. Use include element instead.
[solution] Starting solution build.

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
INTERNAL ERROR
System.ArgumentNullException: Value cannot be null.
Parameter name: projectSettings
  at NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, 
ReferencesResolver referencesResolver, ProjectBase parent, 
SolutionBase 
solution, ProjectSetti ngs projectSettings, GacCache gacCache, 
DirectoryInfo outputDir)
  at 
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, 
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache 
gacCache, ReferencesResolver referencesResolver, ProjectBase parent, 
DirectoryInfo outputDir)
  at NAnt.VSNet.VcProject..ctor(SolutionBase solution, String 
projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
refResolver, DirectoryInfo outputDir)
  at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, 
SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo 
outputDir, String 
projectPath)
  at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, 
SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo 
outputDir, String path)
  at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, 
ReferencesResolver refResolver)
  at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, 
SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
ReferencesResolver refResolver)
  at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask 
solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
refResolver)
  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 [EMAIL PROTECTED]
Total time: 0.9 seconds.
-Mark-
Gert Driesen wrote:
   

Mark,
Can you try to use the latest nightly build and send me the 
 

full error
   

message that you get ?
I recently rewrote a large part of the solution task.
Gert
- Original Message - 
From: Mark Henry [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 5:00 PM
Subject: Re: [nant-dev] NAnt Exception


 

Well, I can't give you the sources, since this isn't a 
   

personal project
   

- it's for my employer.  However, I'll try to re-create the 
   

problem in a
   

new solution.
-Mark-
Gert Driesen wrote:
  

   

Mark,
I need a small solution (including project files and 
 

sources) in order to
   

reproduce this issue.
Gert



 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mark Henry
Sent: donderdag 11 november 2004 21:43
To: [EMAIL PROTECTED]
Subject: [nant-dev] NAnt Exception
We're trying to use nant to compile a solution from the 
   

command line
   

(since devenv has serious issues doing that itself).  
   

However, nant
   

continually crashes when reading the solution file.  It 
   

appears nant
   

doesn't like the mix of managed C++ and C# projects that we
have going.
I've tried both the current 

[nant-dev] FW:

2004-11-30 Thread Jeremy Owens-Boggs







From: Jeremy Boggs Sent: Monday, 
November 29, 2004 7:57 AMTo: 
'[EMAIL PROTECTED]'Subject: Solution task blows 
up on tlbimport


The solution 
task is blowing up on a tlbimport. Attached is a copy of the project that 
exhibits this behavior, and a copy of the output. The project file is a 
zip file that contains the project, solution and source of the solution 
exhibiting the behavior.



Project
Description: Binary data


Buildme.build
Description: Binary data
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///C:/Development/Database/DBA/BuildTools/ReadSecuritySpreadsheet/Buildme.build
Target(s) specified: Release 

Release:

 [solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.IO.FileNotFoundException: File or assembly name 
Microsoft.Office.Interop.Excel, or one of its dependencies, was not found.
File name: Microsoft.Office.Interop.Excel
   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.InternalLoad(String assemblyString, Evidence 
assemblySecurity, StackCrawlMark stackMark)
   at System.Reflection.Assembly.Load(String assemblyString)
   at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Reference.cs:line 367
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, 
XmlElement elemReference, SolutionTask solutionTask, String outputDir) in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Reference.cs:line 124
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Project.cs:line 194
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, 
TempFileCollection tfc, String outputDir, String path) in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\ProjectFactory.cs:line 70
   at NAnt.VSNet.Solution.LoadProjects() in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Solution.cs:line 407
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList 
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, 
SolutionTask solutionTask, WebMapCollection webMappings, FileSet 
excludesProjects, String outputDir) in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Solution.cs:line 114
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in 
C:\Development\CommonDotNet\nant\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 317
   at NAnt.Core.Task.Execute() in 
C:\Development\CommonDotNet\nant\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in 
C:\Development\CommonDotNet\nant\src\NAnt.Core\Target.cs:line 217
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) 
in C:\Development\CommonDotNet\nant\src\NAnt.Core\Project.cs:line 772
   at NAnt.Core.Project.Execute() in 
C:\Development\CommonDotNet\nant\src\NAnt.Core\Project.cs:line 734
   at NAnt.Core.Project.Run() in 
C:\Development\CommonDotNet\nant\src\NAnt.Core\Project.cs:line 797

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Excel, Version=11.0.0.0, 
Culture=neutral, PublicKeyToken=71e9bce111e9429c
 (Fully-specified)
LOG: Appbase = C:\Development\Build\NAnt\
LOG: Initial PrivatePath = NULL
Calling assembly : NAnt.VSNetTasks, Version=0.84.1455.0, Culture=neutral, 
PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from 
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Excel, Version=11.0.0.0, 
Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL 
file:///C:/Development/Build/NAnt/Microsoft.Office.Interop.Excel.DLL.
LOG: Attempting download of new URL 
file:///C:/Development/Build/NAnt/Microsoft.Office.Interop.Excel/Microsoft.Office.Interop.Excel.DLL.
LOG: Attempting download of new URL 
file:///C:/Development/Build/NAnt/Microsoft.Office.Interop.Excel.EXE.
LOG: Attempting download of new URL 
file:///C:/Development/Build/NAnt/Microsoft.Office.Interop.Excel/Microsoft.Office.Interop.Excel.EXE.


Please send bug report to [EMAIL PROTECTED]

Total time: 0.3 seconds.



[nant-dev] Compiling a C++ project gives me a INTERNAL ERROR

2004-11-30 Thread david.richards








I have a solution which consists of 8 projects one of which is c++ code.
>From the stack trace it is the VC project that is causing the issue. Briefly looking
at the source code, I can see that a null is always passed in as the Project
Settings parameter, hence the error. This is with v0.85rc1



[solution] Starting solution build.



BUILD FAILED - 6 non-fatal error(s), 3 warning(s)



INTERNAL ERROR



System.ArgumentNullException: Value cannot be null.

Parameter name: projectSettings

 at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir)

 at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir)

 at
NAnt.VSNet.VcProject..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)

 at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath)

 at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path)

 at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir)

 at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir)

 at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)

 at NAnt.VSNet.CSharpProject..ctor(SolutionBase
solution, String projectPath, XmlElement xmlDefinition, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
refResolver, DirectoryInfo outputDir)

 at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath)

 at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path)

 at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir)

 at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir)

 at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)

 at
NAnt.VSNet.CSharpProject..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)

 at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath)

 at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path)

 at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir)

 at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir)

 at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, 

RE: [nant-dev] Compiling a C++ project gives me a INTERNAL ERROR

2004-11-30 Thread Gert Driesen



Hi David,

This is a known issue, which I'm fixed right now. 
This should be fixed in the next nightly build (and rc2 
ofcourse).

Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: maandag 29 november 2004 
  11:51To: [EMAIL PROTECTED]Subject: 
  [nant-dev] Compiling a C++ project gives me a INTERNAL 
  ERROR
  
  
  I have 
  a solution which consists of 8 projects one of which is c++ code. From the 
  stack trace it is the VC project that is causing the issue. Briefly looking at 
  the source code, I can see that a null is always passed in as the Project 
  Settings parameter, hence the error. This is with 
  v0.85rc1
  
  [solution] 
  Starting solution build.
  
  BUILD 
  FAILED - 6 non-fatal error(s), 3 
warning(s)
  
  INTERNAL 
  ERROR
  
  System.ArgumentNullException: 
  Value cannot be null.
  Parameter 
  name: projectSettings
   at 
  NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver 
  referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings 
  projectSettings, GacCache gacCache, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, 
  ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache, 
  ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.VcProject..ctor(SolutionBase solution, String projectPath, 
  XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
  GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  projectPath)
   at 
  NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  path)
   at 
  NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver 
  referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings 
  projectSettings, GacCache gacCache, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, 
  ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache, 
  ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath, 
  XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
  GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.CSharpProject..ctor(SolutionBase solution, String projectPath, 
  XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
  GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  projectPath)
   at 
  NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  path)
   at 
  NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver 
  referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings 
  projectSettings, GacCache gacCache, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, 
  ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache, 
  ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath, 
  XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
  GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.CSharpProject..ctor(SolutionBase solution, String projectPath, 
  XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
  GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo 
  outputDir)
   at 
  NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  projectPath)
   at 
  NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask 
  solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
  referencesResolver, DirectoryInfo outputDir, String 
  path)
   at 
  

RE: [nant-dev] FW:

2004-11-30 Thread Gert Driesen



Hi Jeremy,

Can you try using NAnt 0.85 RC1 ?

Thanks,

Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jeremy Owens-BoggsSent: maandag 29 november 2004 
  16:11To: [EMAIL PROTECTED]Subject: 
  [nant-dev] FW:
  
  
  
  
  
  From: Jeremy Boggs Sent: Monday, 
  November 29, 2004 7:57 AMTo: 
  '[EMAIL PROTECTED]'Subject: Solution task blows 
  up on tlbimport
  
  
  The solution 
  task is blowing up on a tlbimport. Attached is a copy of the project 
  that exhibits this behavior, and a copy of the output. The project file is 
  a zip file that contains the project, solution and source of the solution 
  exhibiting the behavior.
  


[nant-dev] [ nant-Bugs-1075959 ] call task

2004-11-30 Thread SourceForge.net
Bugs item #1075959, was opened at 2004-11-30 13:28
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1075959group_id=31650

Category: Core
Group: cvs
Status: Open
Resolution: Works For Me
Priority: 5
Submitted By: Giuseppe Greco (j3d)
Assigned to: Gert Driesen (drieseng)
Summary: call task

Initial Comment:
Giving the task

call
target=myTarget
unless=${file::exists('myDirectory/myFile.cs')} /

myTarget is invoked when the file myDirectory/myFile.cs
does exist, while giving the task

call
target=myTarget
if=${file::exists('myDirectory/myFile.cs')} /

myTarget is invoked when the file myDirectory/myFile.cs
does *NOT* exist.

--

Comment By: Gert Driesen (drieseng)
Date: 2004-11-30 21:33

Message:
Logged In: YES 
user_id=707851

Giuseppe,

I can't see anywrong here. What version of NAnt are you 
using ? (Although I'm sure nothing changed here recently).

Can you try to execute the following build file :

project name=target-test default=build
target name=build
touch file=myfile.cs /
call target=myFileExists
   if=${file::exists('myFile.cs')} /
delete file=myfile.cs /
call target=myFileDoesNotExist
   unless=${file::exists('myFile.cs')} /
/target

target name=myFileExists
echo message=${target::get-current-
target()} executed /
/target

target name=myFileDoesNotExist
echo message=${target::get-current-
target()} executed /
/target

/project

This should result in the following build output :

myFileExists:

 [echo] myFileExists executed
   [delete] Deleting file D:\nant-test-
projects\ok\NAnt\target\myfile.cs.

myFileDoesNotExist:

 [echo] myFileDoesNotExist executed

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1075959group_id=31650


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers