File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes cruise control message priorities Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "cruise control message priorities" Watch "cruise control message priorities" New topic

cruise control message priorities

yogesh seth

Joined: Jun 28, 2005
Posts: 17
We have set up a cruisecontrol environment for nightly builds. it first runs "cvs up -d -P" to update the code from cvs and then runs my ant build script.

The final html report obtained has the number of warnings displayed. The cruisecontrol first generates an xml file (which contains the messages from cvs and ant runs- with message priorities).
the problem is that the normal messages for which the priority should be info, are given priority warning. For e.g. in case of cvs: the messages of updating a directory are given priority warning. similarily, in case of ant: the echo messages in the build file are given priority warning. i want them to be under info.

any ideas ??
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Why are you so interested on the message priorities?

Anyway, the only way I can think of right now would be to replace the default build logger with your own.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
yogesh seth

Joined: Jun 28, 2005
Posts: 17
thnx for the reply
message prority is a concern because the cruiscontrol report shows the number of warnings to be very high which actually is not the case (as it is including info messages as well). we cant make out the actual number of warnings.

btw MergeLogger is only for merging a different log file into cruiscontrol logger. Could u please point out where actually are the xml elements for the report in cruisecontrol generated ?

I agree. Here's the link:
subject: cruise control message priorities
It's not a secret anymore!