Re: Suppresions config in ant
"Oliver Burn" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Have a look at how the Checkstyle project does suppressions. The
checkstyle.checkstyle target in the
build.xml<http://checkstyle.svn.sourceforge.net/viewvc/checkstyle/trunk/checkstyle/build.xml?view=log>file
sets the property checkstyle.suppressions.file. If you look in the
checkstyle_checks.xml file, it uses this property to setup suppressions. The
exact magic is:
<module name="SuppressionFilter">
<property name="file" value="${checkstyle.suppressions.file}"/>
</module>
On Fri, Jun 13, 2008 at 16:29, Ahmed Ashour <[email protected]> wrote:
> Dear all,
>
> We have a probjec that has both mvn 2 pom and build.xml, and supression is
> done using mvn <suppressionsLocation> attribute, but it seems build.xml does
> not have the equivalent, any idea?
>
> Also, in http://checkstyle.sourceforge.net/config.html, "SupressionFilter"
> section, the link to "suppressions XML document" goes nowhere.
>
> Thanks a lot,
> Ahmed
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user