Dear All,
I have nant build file for CVS check out for my build.
However it gave some errors and the message displayed
"Please send bug report to [EMAIL PROTECTED]"
The output log file and NANT build script files are attached.

I request you all to provide me with solution for this problem.

Thanks
Sanjoy



<?xml version="1.0"?>
<project name="BuildingSolution" default="build" basedir="." xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd";>
<description>This is a sample build file to be used for the BuildingSolution sample</description>

    <!-- Properties -->
 
    <!-- Solution.Filename represents the filename of the solution to build -->
    <property name="Solution.Configuration" value="DEBUG"/>
    <property name="Build.OutputFolder" value="c:\builds\buildingsolution\"/>
    <property name="Build.DownloadFolder" value="c:\DwnLd\"/>
    <property name="Solution.Filename" value="${Build.DownloadFolder}\Projects\BuildingSolution.sln"/>	
    <!-- End Properties -->


  <!-- The CVS down load is not working presently -->
	
   <!-- Run CVSget latest -->
    <target name="runcvsLatest">
     <cvs-checkout
          usesharpcvslib="false" 
          destination="${Build.DownloadFolder}" 
          cvsroot=":pserver:[EMAIL PROTECTED]:/usr/local/repos/project/construction" 
          password="whitehouse" 
          module="SmplNantCode">
     </cvs-checkout>

    </target>

    <!-- Clean down load folder -->
     <target name="ClnDwnLdFld" description="remove all previous files in down load folder">
	<echo message="Deleting Files From = ${Build.DownloadFolder}"/>		
         <delete>
		<fileset basedir="${Build.DownloadFolder}Projects\">
			<includes name="**/*.*"/>
		</fileset>
	</delete>
     </target>
   
    <!-- Clean target will delete the current version -->
    <target name="cleanLastBuild" description="remove all generated files">
        <echo message="Deleting Files From = ${Build.OutputFolder}Latest\"/>
        <delete>
			<fileset basedir="${Build.OutputFolder}Latest\">
				<includes name="**/*.*"/>
			</fileset>	
        </delete>
    </target>
    

    <!-- build will trigger main build -->
    <target name="build" description="compiles the source code">
                <call target="ClnDwnLdFld"/>
	<call target="cleanLastBuild"/>
                  <call target="runcvsLatest"/>
	<solution solutionfile="${Solution.Filename}" outputdir="${Build.OutputFolder}latest\" configuration="${Solution.Configuration}"/>
    </target>
    <!-- End Targets -->
       
</project>
Buildfile: file:///C:/BldSolu/firstbuild.build.xml
Target(s) specified: build 

build:


ClnDwnLdFld:

     [echo] Deleting Files From = c:\DwnLd\
   [delete] Deleting 0 files.

cleanLastBuild:

     [echo] Deleting Files From = c:\builds\buildingsolution\Latest\
   [delete] Deleting 0 files.

runcvsLatest:


BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an 
object.
   at NAnt.SourceControl.Tasks.AbstractCvsTask.get_ExeName() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.SourceControl\Tasks\AbstractCvsTask.cs:line
 153
   at NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
 409
   at NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
 88
   at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
 242
   at NAnt.Core.Task.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) 
in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 
892
   at NAnt.Core.Project.Execute(String targetName) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 862
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Tasks\CallTask.cs:line
 110
   at NAnt.Core.Task.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) 
in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 
892
   at NAnt.Core.Project.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 849
   at NAnt.Core.Project.Run() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 917

Please send bug report to [EMAIL PROTECTED]

Total time: 0.4 seconds.

Reply via email to