×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

CruiseControl, Ant & MSBuild (or Devenv?). Errors and warnings to dash

CruiseControl, Ant & MSBuild (or Devenv?). Errors and warnings to dash

CruiseControl, Ant & MSBuild (or Devenv?). Errors and warnings to dash

(OP)
Hello.

First off, sorry if I posted this to the wrong forum.

I've set up a environment with CruiseControl, Ant and MSBuild. The problem I'm having has got do with the results that MsBuild or Devenv produce.

Here's my build flow:
- CruiseControl project calls my Ant target.
- The Ant target calls MsBuild.exe (or Devenv.com) in one of it's targets:
Msbuild:
    <msbuild buildfile="${solutionFile}" xmlns="antlib:org.apache.ant.dotnet">
      <property name="Configuration" value="${solutionConfiguration}"/>
    </msbuild>
or Devenv:
    <exec executable="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.com" failonerror="true">
      <arg value="${solutionFile}" />
      <arg value="/build" />
      <arg value="${solutionConfiguration}" />
    </exec>

The build goes just fine. However, the CruiseControl dashboard doesn't have any messages in the "Tests" and "Errors and Warnings" sections.

I looked at the build log and it shows that all of the warnings and errors from MsBuild (and Devenv) are logged like so, with the priority attribute set to "info":
<message priority="info">
   <![CDATA[CLASS_NAME_HERE.cs(0,0): warning CS1030: WARNING_MESSAGE_HERE']]>
</message>

Is there any way for the MsBuild errors and warnings to be logged with the priority attribute set to "warning" or "error" so that they will show up in the dashboard? Or is this something that just cannot be accomplished?

We originally used CruiseControl.net and NAnt, but then decided to investigate would the building be any different with CruiseControl and Ant.

Hopefully that was sufficient information.

Thanks,
Mikko

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close