Re: Property checkstyle.suppressions.file has not been set

"Oliver Burn" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi Ken,

Have you looked at the source distribution of Checkstyle. It has a good
example of how to configure Checkstyle. This also includes an example on how
to configure the import_control check.

>From your original message it looks like you do not set the
checkstyle.suppressions.file variable.

Regards,
Oliver

On 5/17/07, Kenneth Pacileo <[email protected]> wrote:
>
>
> Followup: After finding that there were only 4 properties in the
> checksytle_checks.xml I just set them in the build prior to calling
> checkstyle.
>
> Does anyone use this list? I never received a reply and need help with how
> to configure the import_control check.
>
> Regards,
> Ken Pacileo
> UnitedHealth Technologies
>
>
> [email protected] wrote on 05/08/2007 02:54:19 PM:
>
> >
> > I just started using Checkstyle and am getting the below error when
> > I run an Ant build.
> >
> > I'm using Ant 1.7, Java 1.4.2_13 and using the checkstyle_checks.xml
> > file for the checkstyle config parameter. I'm running the build with
> > Cygwin-X on WinXP Pro SP2.
> >
> > I searched the files in the Checkstyle installation, the
> > documentation and the user list but haven't found anything. Are
> > there default settings for the properties in checkstyle_checks.xml
> > or do I need to create a property file for them and pull that into
> > the build? If so, is there a document listing the default settings
> > for the properties used in checkstyle_checks.xml.
> >
> > <error>
> > _checkstyle:
> >
> > BUILD FAILED
> > c:\projects\myproject\build.xml:325: Unable to create a Checker:
> > unable to read C:\programs\checkstyle\checkstyle-4.
> > 3\checkstyle_checks.xml - unable to parse configuration stream -
> > Property ${checkstyle.suppressions.file} has not been set
> > </error>
> >
> > Regards,
> > Ken Pacileo
> > UnitedHealth Technologies
> >
> >
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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.