I am now distributing the NAnt build script out to our developers to use to run 
regression tests before they check-in new code to CVS.  And, if course, it works for 
me, but not for them.

One user got the internal error shown below.  Following the internal error listing is 
the part of the NAnt make-cvs-tree target that was being executed when the problem 
occurred.  

My script starts by echoing its command line arguments and various other important 
pieces of information.  Since the internal error refers to an illegal character in the 
path, I've included the echo announcements that deal with pathnames.  All of the 
pathname look normal, and they are, in fact, the standard pathnames that everyone is 
using and have worked elsewhere.

My user wants me to tell her what's wrong, but there is precious little to go on from 
an internal error.

Any suggestions as to how I can proceed?

Merrill 

==================================================
NAnt 0.85 (Build 0.85.1685.0; net-1.0.win32; nightly; 8/12/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

     [echo]   NAnt framework        = net-1.1
     [echo]   NAnt version          = 0.85.1685.0
     [echo]   buildroot directory   = C:\HDT60
     [echo]   configname            = Debug
     [echo]   Output directory      = \QATest
     [echo]   HDT DLLs directory    = C:\HDT60\hdt\Source\HDTApplication\bin\Debug
     [echo]   CVS Checkout directory= C:\HDT60
     [echo]   Archive directory     = \QATest-Archive
      . . .
 
make-cvs-tree:

     [echo] Updating QAFramework & NUnit CVS subtrees to 'C:\HDT60'...

BUILD FAILED

INTERNAL ERROR

System.ArgumentException: Illegal characters in path.
   at System.IO.Path.Combine(String path1, String path2)
   at NAnt.SourceControl.Tasks.AbstractSourceControlTask.DeriveFullPathFromEnv(String 
environmentVar, String fileName) in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.SourceControl\Tasks\AbstractSourceControlTask.cs:line
 440
   at NAnt.SourceControl.Tasks.AbstractSourceControlTask.DeriveVcsFromEnvironment() in 
C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.SourceControl\Tasks\AbstractSourceControlTask.cs:line
 490
   at NAnt.SourceControl.Tasks.AbstractCvsTask.get_ExeName() in C:\Documents and 
Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\srcNAnt.SourceControl\Tasks\AbstractCvsTask.cs:line 200
   at NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath() in C:\Documents and 
Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line 483
   at NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName() in C:\Documents and 
Settings\drieseng\Local 
Settings\Temp\tmp53E.tmpsrc\NAnt.Core\Tasks\ExternalProgramBase.cs:line 107
   at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in C:\Documents and 
Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line 319
   at NAnt.Core.Task.Execute() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Task.cs:line 177
   at NAnt.Core.TaskContainer.ExecuteChildTasks() in C:\Documents and 
Settings\drieseng\Local Settings\Temp\tmp53E.tmp\src\NAnt.Core\TaskContainer.cs:line 
120
   at NAnt.Core.TaskContainer.ExecuteTask() in C:\Documents and 
Settings\drieseng\Local Settings\Temp\tmp53E.tmp\src\NAnt.Core\TaskContainer.cs:line 90
   at NAnt.Core.Tasks.IfTask.ExecuteTask() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Tasks\IfTask.cs:line 335
   at NAnt.Core.Task.Execute() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.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\tmp53E.tmp\src\NAnt.Core\Project.cs:line 876
   at NAnt.Core.Project.Execute() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Project.cs:line 833
   at NAnt.Core.Project.Run() in C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp53E.tmp\src\NAnt.Core\Project.cs:line 903

Please send bug report to [EMAIL PROTECTED]

Total time: 0.5 seconds.
============================================================


<target name="make-cvs-tree" 
            description="Update existing CVS tree or checkout a new one.">             
                 
        <property name="cvs-exists" value="${is-cvs-tree}" />
        <if test="${cvs-exists}" >
                <echo message="Updating QAFramework &amp; NUnit CVS subtrees to 
'${hdt.cvs.dir}'..." />
                <cvs-update
                         cvsroot="${cvsroot}"
                         destination="${qaframework.dir}"
                         module="hdt"
                         quiet="true" 
                         readonly="true" 
                         verbose="${verbose}" />
                                 
                <cvs-update
                         cvsroot="${cvsroot}"
                         destination="${nunit.dir}"
                         module="hdt"
                         quiet="true" 
                         readonly="true" 
                         verbose="${verbose}" />
                <echo message="   Updates complete." />
        </if><!-- cvs-exists -->
                
        . . .

</target><!-- make-cvs-tree -->





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to