Hello All,
I am having explorer.exe application problem after running NANT script.
After I run the nant build script from widows dos prompt a few number of times I find windows Explorer .EXE application error.
It says memory reference cannot be read. After a few memory fault the machines goes for permanent hang.

Please find my NANT build script attached and the screen shot of Explorer 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="Build.SetupFolder" value="c:\Setup Folder\Program Files\"/>
    <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>

	<!-- Presently I am doing VSS download -->
    <!-- GetVSSLatest will get the latest version of code from vss -->
    <target name="GetVSSLatest">
    <vssget
	user="Sanjoy"
	password="Sanjoy"
        localpath="${Build.DownloadFolder}"
	recursive="true"
	replace="true"
	writable="true"
	removedeleted="true"
	dbpath="\\Hhsserver\VSS\srcsafe.ini"
	path="$/SmplNantC#"
	/>
    </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>
       
    <!-- Clean the Setup kit folder -->
    <target name="cleanSetupFolder" description="Remove files from Setup Folder">
        <echo message="Deleting Files From = ${Build.SetupFolder}"/>
        <delete>
		<fileset basedir="${Build.SetupFolder}Program Files\">
			<includes name="**/*.*"/>
		</fileset>	
        </delete>
    </target>

    <!-- Copy all DLL and EXE to to setup folder -->
    <target name="cpTosetup" description="Copy Files to Setup folder">
       <echo message="Copying DLL,EXE files to = ${Build.SetupFolder}"/>
        <copy todir="${Build.SetupFolder}">
             <fileset basedir="${Build.OutputFolder}latest\">
                 <includes name="*.dll" />
                 <includes name="*.exe" />
             </fileset>
        </copy>
    </target> 

    <!-- build will trigger main build -->
    <target name="build" description="compiles the source code">
                <call target="ClnDwnLdFld"/>
		<call target="cleanLastBuild"/>
                <call target="GetVSSLatest"/>
                <!-- call target="runcvsLatest"/ -->
		<solution solutionfile="${Solution.Filename}" outputdir="${Build.OutputFolder}latest\" configuration="${Solution.Configuration}"/>
                <call target="cleanSetupFolder"/>
                <call target="cpTosetup"/>
                
    </target>
    <!-- End Targets -->
       
</project>

Attachment: ExpProb.doc
Description: MS-Word document

Reply via email to