You should use the one from VS.NET 2003, as I think (not sure) the test is
building a managed app.

However, I'll modify the test to have it skipped when a version of cl.exe
prior to 13.xx.xxxx is in the PATH.

Gert

----- Original Message ----- 
From: "John Cole" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 23, 2004 4:29 PM
Subject: RE: [Nant-users] cvs head not building, again?


> Gert,
>   It appears that I have a version 12 of cl first in my path.
>
> C:\Documents and Settings\jcole>cl /?
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> It appears to be /Program Files/Microsoft Visual Studio/VC98/bin/cl.exe
> which is part of Visual Studio 6.  Which cl.exe should I be using?  I have
> Visual Studio 6 and Visual Studio .Net 2003 loaded on my machine.
>
> Thanks,
>
> John Cole
>
> -----Original Message-----
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 23, 2004 9:19 AM
> To: John Cole; [EMAIL PROTECTED]
> Subject: Re: [Nant-users] cvs head not building, again?
>
>
> John,
>
> We are aware of this issue, and I'll fix it some time this weekend.
>
> Can you tell me if you have an older version (< 13.xx.xxxx) of cl.exe in
> your PATH ?
>
> Gert
>
> ----- Original Message ----- 
> From: "John Cole" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 23, 2004 4:07 PM
> Subject: [Nant-users] cvs head not building, again?
>
>
> > Hey guys,
> >   I'm having difficulty building the NAnt cvs HEAD again.  I get the
> > following error:
> >
> > [exec]      [nant] C:\src\NAnt\tests\NAnt.VSNet\NAnt.VSNet.build test
> >                  [exec]
> >                  [exec]             Buildfile:
> > file:///C:/src/NAnt/tests/NAnt.VSNet/NAnt.VSNet.build
> >                  [exec]             Target(s) specified: test
> >                  [exec]
> >                  [exec]
> >                  [exec]             build:
> >                  [exec]
> >                  [exec]
> >                  [exec]             test:
> >                  [exec]
> >                  [exec]                [nunit2] Tests run: 2, Failures:
1,
> > Not run: 0, Time: 3.4534123 seconds
> >                  [exec]                [nunit2]
> >                  [exec]                [nunit2] Failures:
> >                  [exec]                [nunit2] 1)
> > Tests.NAnt.VSNet.Tasks.VCProjectTest.Test_HelloWorldCompile_ExcludeFile
:
> > Tests.NAnt.Core.TestBuildException : Error Executing Project
> >                  [exec]                [nunit2]   ---->
> > NAnt.Core.BuildException : External Program Failed: link (return code
was
> > 1146)
> >                  [exec]                [nunit2]    at
> > Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in
> > c:\src\nant\tests\NAnt.Core\BuildTestBase.cs:line 155
> >                  [exec]                [nunit2]    at
> > Tests.NAnt.Core.BuildTestBase.RunBuild(String xml, Level level) in
> > c:\src\nant\tests\NAnt.Core\BuildTestBase.cs:line 112
> >                  [exec]                [nunit2]    at
> > Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in
> > c:\src\nant\tests\NAnt.Core\BuildTestBase.cs:line 85
> >                  [exec]                [nunit2]    at
> >
Tests.NAnt.VSNet.Tasks.VCProjectTest.Test_HelloWorldCompile_ExcludeFile()
> in
> > c:\src\nant\tests\NAnt.VSNet\Tasks\VCProjectTest.cs:line 165
> >                  [exec]                [nunit2] --TestBuildException
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
> > c:\src\nant\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line 311
> >                  [exec]                [nunit2]    at
> > NAnt.VisualCpp.Tasks.LinkTask.ExecuteTask() in
> > c:\src\nant\src\NAnt.VisualCpp\Tasks\LinkTask.cs:line 206
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Task.Execute() in c:\src\nant\src\NAnt.Core\Task.cs:line 177
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.VcProject.ExecuteInProjectDirectory(Task task) in
> > c:\src\nant\src\NAnt.VSNet\VcProject.cs:line 502
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.VcProject.RunLinker(VcConfiguration baseConfig) in
> > c:\src\nant\src\NAnt.VSNet\VcProject.cs:line 486
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.VcProject.Build(ConfigurationBase configurationSettings) in
> > c:\src\nant\src\NAnt.VSNet\VcProject.cs:line 131
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.ProjectBase.Compile(String configuration) in
> > c:\src\nant\src\NAnt.VSNet\ProjectBase.cs:line 164
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.Solution.Compile(String configuration) in
> > c:\src\nant\src\NAnt.VSNet\Solution.cs:line 355
> >                  [exec]                [nunit2]    at
> > NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
> > c:\src\nant\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 380
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Task.Execute() in c:\src\nant\src\NAnt.Core\Task.cs:line 177
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Target.Execute() in c:\src\nant\src\NAnt.Core\Target.cs:line
249
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
in
> > c:\src\nant\src\NAnt.Core\Project.cs:line 876
> >                  [exec]                [nunit2]    at
> > NAnt.Core.Project.Execute() in c:\src\nant\src\NAnt.Core\Project.cs:line
> 833
> >                  [exec]                [nunit2]    at
> > Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in
> > c:\src\nant\tests\NAnt.Core\BuildTestBase.cs:line 152
> >                  [exec]                [nunit2]
> >                  [exec]                [nunit2]
> >                  [exec]                [nunit2]
> >                  [exec]
> >                  [exec]             Build failed
> >                  [exec]
> >                  [exec]
> > C:\src\NAnt\tests\NAnt.VSNet\NAnt.VSNet.build(30,11):
> >
> > I'm trying to use the nant included in the cvs head to build it:
> > >nant -buildfile:"default.build"
> > NAnt 0.85 (Build 0.85.1620.0; net-1.1.win32; nightly; 6/8/2004)
> > Copyright (C) 2001-2004 Gerry Shaw
> > NAnt Team
> >
> > Am I doing something wrong?  I'm trying to set up a nant build file to
> > update and compile NAnt on a regular basis :-)  Here is what I have so
> far:
> >
> > ----------------------------------------------
> > <project name="nant" default="all">
> >
> > <target name="update.nant">
> > <cvs-update
> >
> > cvsroot=":pserver:[EMAIL PROTECTED]:/cvsroot/nant"
> > destination="NAnt"
> > module="nant"
> > builddirs="true"
> > overwritelocal="true"
> > usesharpcvslib="false"/>
> > </target>
> >
> > <target name="update.nantcontrib">
> > <cvs-update
> >
> > cvsroot=":pserver:[EMAIL PROTECTED]:/cvsroot/nantcontrib"
> > destination="NAntContrib"
> > module="NAntContrib"
> > builddirs="true"
> > overwritelocal="true"
> > usesharpcvslib="false"/>
> > </target>
> >
> > <target name="build.nant">
> > <exec program="NAnt\bin\nant.exe" workingdir="NAnt"
> > commandline="package" />
> > </target>
> >
> > <target name="all" depends="update.nant build.nant">
> >
> > </target>
> > </project>
> > ----------------------------------------------
> >
> > 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 BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
> >
>
> -------------------------------------
> 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 BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to