FW: checkstyle failureproperty

"Chaturvedula, Lakshmi " <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <110395D7627D184680B7C7C10FBEAFFA0E7A89@0015-ITS-EXMB08.us.saic.com>
Hi,

 

I have the failureProperty set to "checkstyle.failure" in the ant
checkstyle target. 
I have the following check on the failureProperty to email the errors if
the violations failed -
<target name="checkstyle-nightly"
        depends="checkstyle"
        if="checkstyle.failure"
        description="Sends email if checkstyle detected code conventions
violations.">
    <mail ../> </target>
 But it doesn't seem to be working. I do have violations in the code and
it is suppose to process the condition statement. The failureProperty is
not setting the given property.
 
Appreciate any help,
 
Thanks,
Lakshmi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.