Sounds like the <solution> task should know how to create (and execute)
a shell script (batch file in Windows) to run build events for C++.
There are 3 build events: Pre-Build, Pre-Link, and Post-Build. Then
there is also a Custom Build step. My projects would fail to compile
because almost all of them have a Custom Build step. C# projects have
Pre-Build and Post-Build events.

--
Edwin G. Castro
[EMAIL PROTECTED]
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> John Ludlow
> Sent: Friday, July 23, 2004 8:33 AM
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Post-Build Events causing <solution> 
> task to fail
> 
> Hi, there
> 
> I have a solution which gets built with a <solution> task.  
> However, this fails with the following message:
> 
>  [solution] Building 'TestMinorplanetBLL' [debug]...
> The filename, directory name, or volume label syntax is incorrect.
>  [solution] PostBuildEvent failed with exit code = 1  
> [solution] Build failed.
>  [solution] Project 'TestMinorplanetBLL' failed!
>  [solution] Continuing build with non-dependent projects.
> 
> Investigating the offending project, I found it had a post 
> build event with the following text:
> 
> copy "$(ProjectDir)ServerUnitTesting.dll.config" 
> "$(ProjectDir)\$(OutDir)ServerUnitTesting.dll.config"
> 
> This works absolutely fine building from the VS 2003 IDE, but 
> not from the <solution> task.  The <solution> task works if I 
> remove this event from the project.
> 
> Any ideas?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of 
> [EMAIL PROTECTED]
> Sent: 23 July 2004 15:35
> To: [EMAIL PROTECTED]
> Subject: Nant-users digest, Vol 1 #970 - 6 msgs
> 
> 
> Send Nant-users mailing list submissions to
>       [EMAIL PROTECTED]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/nant-users
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more 
> specific than "Re: Contents of Nant-users digest..."
> 
> 
> Today's Topics:
> 
>    1. <solution> not building projects in projects.txt 
> (Felice Vittoria)
>    2. Re: cvs head not building, again? (Gert Driesen)
>    3. Re: <solution> not building projects in projects.txt 
> (Gert Driesen)
>    4. DISGREGARD: [Nant-users] <solution> not building 
> projects in projects.txt (Felice Vittoria)
>    5. RE: cvs head not building, again? (John Cole)
>    6. Re: cvs head not building, again? (Gert Driesen)
> 
> --__--__--
> 
> Message: 1
> Date: Fri, 23 Jul 2004 09:16:21 -0500
> From: "Felice Vittoria" <[EMAIL PROTECTED]>
> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
> Subject: [Nant-users] <solution> not building projects in projects.txt
> 
> Hello,
> 
> I'm using this version of Nant 0.85:
> NAnt 0.85 (Build 0.85.1659.0; net-1.0.win32; nightly; 7/17/2004)
> 
> I noticed in the documentation that you can do something like:
> 
> <solution configuration=3D"release">
>       <projects>
>               <includesfile name=3D"projects.txt" />
>       </projects>
> </solution>
> 
> So, I created a projects.txt with only 3 of my projects just 
> to try it =
> out.   When I run this in Nant, the projects do not get built.
> 
> Here's the output I get (using -v option):
> 
>  [solution] Starting solution build.
>  [solution] Loading projects...
>  [solution] Gathering additional dependencies...
> 
> Build succeeded
> 
> Do you think this is because I have spaces in the directory 
> names within =
> my projects.txt file?   Could this be a problem with the 
> solution task?=20
> 
> Felice
> 
> 
> --__--__--
> 
> Message: 2
> From: "Gert Driesen" <[EMAIL PROTECTED]>
> To: "John Cole" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
> Subject: Re: [Nant-users] cvs head not building, again?
> Date: Fri, 23 Jul 2004 16:19:13 +0200
> 
> 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_Ex
> cludeFile :
> > 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_Ex
> cludeFile()
> 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
> >
> 
> 
> --__--__--
> 
> Message: 3
> From: "Gert Driesen" <[EMAIL PROTECTED]>
> To: "Felice Vittoria" 
> <[EMAIL PROTECTED]>,"Nant-Users \(E-mail\)" 
> <[EMAIL PROTECTED]>
> Subject: Re: [Nant-users] <solution> not building projects in 
> projects.txt
> Date: Fri, 23 Jul 2004 16:20:33 +0200
> 
> Felice,
> 
> Are you sure that the txt file is in the right directory 
> (same as your bu=
> ild
> file) ?
> 
> Gert
> 
> ----- Original Message -----=20
> From: "Felice Vittoria" <[EMAIL PROTECTED]>
> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
> Sent: Friday, July 23, 2004 4:16 PM
> Subject: [Nant-users] <solution> not building projects in projects.txt
> 
> 
> Hello,
> 
> I'm using this version of Nant 0.85:
> NAnt 0.85 (Build 0.85.1659.0; net-1.0.win32; nightly; 7/17/2004)
> 
> I noticed in the documentation that you can do something like:
> 
> <solution configuration=3D"release">
> <projects>
> <includesfile name=3D"projects.txt" />
> </projects>
> </solution>
> 
> So, I created a projects.txt with only 3 of my projects just 
> to try it ou=
> t.
> When I run this in Nant, the projects do not get built.
> 
> Here's the output I get (using -v option):
> 
>  [solution] Starting solution build.
>  [solution] Loading projects...
>  [solution] Gathering additional dependencies...
> 
> Build succeeded
> 
> Do you think this is because I have spaces in the directory 
> names within =
> my
> projects.txt file?   Could this be a problem with the solution task?
> 
> Felice
> 
> 
> -------------------------------------------------------
> 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_idG21&alloc_id=10040&op=3Dick
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 
> --__--__--
> 
> Message: 4
> Subject: DISGREGARD: [Nant-users] <solution> not building 
> projects in projects.txt
> Date: Fri, 23 Jul 2004 09:20:44 -0500
> From: "Felice Vittoria" <[EMAIL PROTECTED]>
> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
> 
> Never mind .. I found the problem ... I mistyped the directory path.
> 
> -----Original Message-----
> From: Felice Vittoria=20
> Sent: Friday, July 23, 2004 9:16 AM
> To: Nant-Users (E-mail)
> Subject: [Nant-users] <solution> not building projects in projects.txt
> 
> 
> Hello,
> 
> I'm using this version of Nant 0.85:
> NAnt 0.85 (Build 0.85.1659.0; net-1.0.win32; nightly; 7/17/2004)
> 
> I noticed in the documentation that you can do something like:
> 
> <solution configuration=3D"release">
>       <projects>
>               <includesfile name=3D"projects.txt" />
>       </projects>
> </solution>
> 
> So, I created a projects.txt with only 3 of my projects just 
> to try it =
> out.   When I run this in Nant, the projects do not get built.
> 
> Here's the output I get (using -v option):
> 
>  [solution] Starting solution build.
>  [solution] Loading projects...
>  [solution] Gathering additional dependencies...
> 
> Build succeeded
> 
> Do you think this is because I have spaces in the directory 
> names within =
> my projects.txt file?   Could this be a problem with the 
> solution task?=20
> 
> Felice
> 
> 
> -------------------------------------------------------
> 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_idG21&alloc_id=10040&op=3Dick
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 
> --__--__--
> 
> Message: 5
> From: John Cole <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] cvs head not building, again?
> Date: Fri, 23 Jul 2004 09:29:16 -0500
> 
> 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_Ex
> cludeFile :
> > 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_Ex
> cludeFile()
> 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.
> 
> 
> --__--__--
> 
> Message: 6
> From: "Gert Driesen" <[EMAIL PROTECTED]>
> To: "John Cole" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
> Subject: Re: [Nant-users] cvs head not building, again?
> Date: Fri, 23 Jul 2004 16:34:16 +0200
> 
> 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_Ex
> cludeFile
> :
> > > 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_Ex
> cludeFile()
> > 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
> >
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 
> End of Nant-users Digest
> 
> **********************************************************************
> Privileged/Confidential Information may be contained in this 
> message. If you are not the addressee indicated in this 
> message (or responsible for delivery of the message to such 
> person), you must not copy, distribute or take any action in 
> reliance to it.
> In such case, you should destroy this message and kindly 
> notify the sender by reply email. Please advise immediately 
> if you or your employer do not consent to Internet email for 
> messages of this kind. Opinions, conclusions and other 
> information in this message that do not relate to the official 
> business of Minorplanet Systems Plc shall be understood as 
> neither given nor endorsed by it.
> **********************************************************************
> 
> 
> 
> -------------------------------------------------------
> 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_idG21&alloc_id040&op=ick
> _______________________________________________
> 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_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to