Getting:
=========
INTERNAL ERROR
System.NullReferenceException: Object reference not set to an instance
of an obj
ect.
   at SourceForge.NAnt.Project.get_BuildFileURI()
   at SourceForge.NAnt.Project.LoadBuildFile(String source)
   at SourceForge.NAnt.Project..ctor(String source)
   at SourceForge.NAnt.NAnt.Main(String[] args)


From:
=====
<?xml version="1.0" encoding="utf-8" ?> 
<project name="UCControlLib" default="build" >
  <description>UCControlLib - general controls for VS.Net development -
VB code</description>
    
  <property name="mybasedir" value="c:\ucprojects\build\latest\" />
  <property name="debugdir" value="${mybasedir}debug\" />
  <property name="releasedir" value="${mybasedir}release\" />
  <property name="sourcedir" value="${mybasedir}src\UCControlLib" />
  <property name="vsspath" value="\\regynt2000\is\vss\srcsafe.ini" />
     
  <target name="clean" description="remove all generated files">
        <delete file="${debugdir}uc.controllib.dll"
failonerror="false"/>
        <delete file="${debugdir}uc.controllib.pdb"
failonerror="false"/>
        <delete file="${releasedir}uc.controllib.dll"
failonerror="false"/>
        <delete dir="${sourcedir}" failonerror="false"/>
  </target>
  
  <target name="build" description="compiles the source code in debug
mode">
  
    <property name="nant.onsuccess" value="sendsuccessmail" />
  
    <mkdir dir="${debugdir}" failonerror="true" verbose="true" />
    <mkdir dir="${releasedir}" failonerror="true" verbose="true" />
    <mkdir dir="${sourcedir}" failonerror="true" verbose="true" />
  
    <vssget 
      localpath="${sourcedir}" 
      dbpath="${vsspath}" 
      path="$/UCControlLib" 
      user="pgj14" 
    />
    
    <vbc target="library" output="${debugdir}UC.ControlLib.dll"
debug="true">
      <sources basedir="${sourcedir}">
        <includes name="AssemblyInfo.vb"/>
        <includes name="CDistributionSolution.vb"/>
        <includes name="TextBox\UCTextbox.vb"/>
        <includes name="ProgressDialog\FProgress.vb/>
        <includes name="ProgressDialog\UCProgressDialog.vb/>
        <includes name="PrintPreview\UCPrintPreview.vb"/>
        <includes name="LookupTextBox\UCLookupTextBox.vb"/>
        <includes name="FiguresToWords\CFiguresToWords.vb"/>
        <includes name="FiguresToWords\CFigureToWordElements.vb"/>
        <includes name="FiguresToWords\CValuesCollection.vb"/>
        <includes name="DataGridColumns\COnPaintEventHandler.vb"/>
        <includes name="DataGridColumns\CUCDataGridBoolColumn.vb"/>
        <includes name="DataGridColumns\CUCDataGridTextBoxColumn.vb"/>
        <includes name="CodeLookupEntry\FItemDialog.vb"/>
        <includes name="CodeLookupEntry\UCodeLookupEntry.vb"/>
        <includes name="AddressEntry\UAddressEntry.vb"/>
      </sources>
    </vbc>

    <vbc target="library" output="${releasedir}UC.ControlLib.dll"
debug="false">
      <sources basedir="${sourcedir}">
        <includes name="AssemblyInfo.vb"/>
        <includes name="CDistributionSolution.vb"/>
        <includes name="TextBox\UCTextbox.vb"/>
        <includes name="ProgressDialog\FProgress.vb/>
        <includes name="ProgressDialog\UCProgressDialog.vb/>
        <includes name="PrintPreview\UCPrintPreview.vb"/>
        <includes name="LookupTextBox\UCLookupTextBox.vb"/>
        <includes name="FiguresToWords\CFiguresToWords.vb"/>
        <includes name="FiguresToWords\CFigureToWordElements.vb"/>
        <includes name="FiguresToWords\CValuesCollection.vb"/>
        <includes name="DataGridColumns\COnPaintEventHandler.vb"/>
        <includes name="DataGridColumns\CUCDataGridBoolColumn.vb"/>
        <includes name="DataGridColumns\CUCDataGridTextBoxColumn.vb"/>
        <includes name="CodeLookupEntry\FItemDialog.vb"/>
        <includes name="CodeLookupEntry\UCodeLookupEntry.vb"/>
        <includes name="AddressEntry\UAddressEntry.vb"/>
      </sources>
    </vbc>

  </target>
  <target name="sendsuccessmail" description="Send an email when build
is successful.">  
    <echo message="Sending success mail." />  
    <mail 
      from="[EMAIL PROTECTED]" 
      tolist="[EMAIL PROTECTED]" 
      subject="UCControlLib Build Results"
      message="This is a test!"
      mailhost="regyexch.regy.canterbury.ac.nz"/>
  </target>
</project>

-------------------------------
Peter G Jones
Senior Analyst/Programmer
University of Canterbury 
-------------------------------

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to