Title: Message
Hi all,
 
We've been using Nant quite successfully for a while now, but I'm having trouble today with the xml logging.  We have a build error that reports out when logging to a text file, but not when we are using XML logging.  I have attached snippets from both the text output and the xml output.  The XML output does not have the 'Error checking whether....' line in it.
 
Is there something obvious that I am missing or need to set up to get this to show up when using the XML logger?
 
Thank You
Dan Fichter
 
----------TEXT FILE OUTPUT------------------------------
[solution] Starting solution build.
           
            Format.Attach.Message:
           
           
            build.failure.email:
           
              [sysinfo] Setting system information properties under sys.*
                 [mail] Sending mail to .
           
            BUILD FAILED
           
            Error checking whether 'c:\m\project\Performance\Performance.csproj' is an enterprise template project.
             This is an unexpected token. The expected token is 'SEMICOLON'. Line 158, position 42.
           
            Total time: 8.8 seconds.
 

Format.Attach.Message:
 

build.failure.email:
 
  [sysinfo] Setting system information properties under sys.*
     [mail] Sending mail to .
 
BUILD FAILED
 
Nested build failed.  Refer to build log for exact reason.
 
Total time: 174.3 seconds.
-----------------------------------------
 
 
 
 
----------XML OUTPUT-------------------------------
<task name="solution">
                <message level="Info"><![CDATA[Starting solution build.]]></message>
              </task>
            </target>
            <target name="Format.Attach.Message">
              <task name="available" />
            </target>
            <target name="build.failure.email">
              <task name="sysinfo">
                <message level="Info"><![CDATA[Setting system information properties under sys.*]]></message>
              </task>
              <task name="mail">
                <message level="Info"><![CDATA[Sending mail to .]]></message>
              </task>
            </target>
          </buildresults>
        </task>
      </target>
    </task>
  </target>
  <target name="Format.Attach.Message">
    <task name="available" />
  </target>
  <target name="build.failure.email">
    <task name="sysinfo">
      <message level="Info"><![CDATA[Setting system information properties under sys.*]]></message>
    </task>
    <task name="mail">
      <message level="Info"><![CDATA[Sending mail to .]]></message>
    </task>
  </target>
</buildresults>
------------------------------------------------
 

Reply via email to