Hi Thomas,

First of all, thanks a lot for your contribution !!! Keep'm coming ;-)

I've reviewed your patch, but I still need to install Visual C++ on my
machine (just reinstalled my box) to test it.

However, we won't be able execute the test you supplied (thanks !!) as part
of the NAnt build as it will fail on machines that only have the compilers
installed, but not the libraries ... Am I right here ?

Gert

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 2004 8:56 AM
Subject: Aw: Re: [nant-dev] BUG solution task throws NullReferenceException


Hello Gert,

i'm willing to volunteer in improve the vc++ support of the solution task.
I've detected so far four issues:
- Handling of PCH files.
- Exclude files from build.
- Macro expansion: Not all macros which could be specified are handled.
- Handling of "make projects".

Attached you will find an first patch wich allows the exclusion of source
files. I've also implemented a test for it.

Cheers Thomas

----- Original Nachricht ----
Von:     Gert Driesen <[EMAIL PROTECTED]>
An:      Virginie Helloco <[EMAIL PROTECTED]>
Datum:   27.06.2004 07:49
Betreff: Re: [nant-dev] BUG  solution task throws NullReferenceException

> Virginie,
>
> The <solution> task still needs a lot of work in order to support Visual
> C++
> projects.  It would be great if someone is willing to step up, and lead
> this
> effort ...
>
> Gert
>
> ----- Original Message -----
> From: "Virginie Helloco" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 17, 2004 4:50 PM
> Subject: [nant-dev] BUG solution task throws NullReferenceException
>
>
> > When I want to execute the solution: (Is it a bug of nant?)
> >
> > <solution configuration="${build.configuration}" verbose="true">
> > <projects>
> >
> > <includes name="..\projet\src\Tools\Tools.vcproj"/>
> >
> > <includes name="..\projet\src\Tools\TestTools\TestTools.vcproj"/>
> > </projects>
> > <referenceprojects>
> >
> > </referenceprojects>
> > </solution>
> >
> >
> >
> >
> > buildTools:
> >
> > [solution] Starting solution build.
> > [solution] Included projects:
> > [solution]  - ..\projet\src\Tools\Tools.vcproj
> > [solution]  - ..\projet\src\Tools\TestTools\TestTools.vcproj
> > [solution] Loading projects...
> > [solution] Loading project
'projet\src\Tools\TestTools\TestTools.vcproj'.
> >
> > BUILD FAILED
> >
> > INTERNAL ERROR
> >
> > System.NullReferenceException: Object reference not set to an instance
of
> an
> > object.
> >    at NAnt.VSNet.VcConfiguration..ctor(XmlElement elem, VcProject
> > parentProject, Solution parentSln, VcConfiguration parentConfig,
> > DirectoryInfo outputDir) in c:\Documents and
Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcConfiguration.cs:line 58
> >    at NAnt.VSNet.VcConfiguration..ctor(XmlElement elem, VcProject
> > parentProject, Solution parentSln, DirectoryInfo outputDir) in
> c:\Documents
> > and Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcConfiguration.cs:line 42
> >    at NAnt.VSNet.VcProject.Load(Solution sln, String projectPath) in
> > c:\Documents and Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcProject.cs:line 175
> >    at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
> > slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path)
in
> > c:\Documents and Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\ProjectFactory.cs:line 74
> >    at NAnt.VSNet.Solution.LoadProjects() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Solution.cs:line 420
> >    at NAnt.VSNet.Solution..ctor(ArrayList projects, ArrayList
> > referenceProjects, TempFileCollection tfc, SolutionTask solutionTask,
> > WebMapCollection webMaps, FileSet excludesProjects, DirectoryInfo
> outputDir)
> > in c:\Documents and Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Solution.cs:line 142
> >    at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 327
> >    at NAnt.Core.Task.Execute() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.Core\Task.cs:line 151
> >    at NAnt.Core.Target.Execute() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.Core\Target.cs:line 217
> >    at NAnt.Core.Project.Execute(String targetName, Boolean
> > forceDependencies) in c:\Documents and Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 768
> >    at NAnt.Core.Project.Execute() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 730
> >    at NAnt.Core.Project.Run() in c:\Documents and
> > Settings\Administrator\Local
> > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 793
> >
> > Please send bug report to [EMAIL PROTECTED]
> >
> > Total time: 0.2 seconds.
> >
> > _________________________________________________________________
> > Recevez par e-mail des émoticônes pour MSN Messenger
> >
>
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Def
>
> ault.asp?Ath=f
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by Black Hat Briefings & Training.
> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > digital self defense, top technical experts, no vendor pitches,
> > unmatched networking opportunities. Visit www.blackhat.com
> > _______________________________________________
> > nant-developers mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-developers
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>







-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to