The Artima Developer Community
Sponsored Link

Java Answers Forum
Writing a check for consistency check of properties file

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vasanthi Sathyanarayanan

Posts: 1
Nickname: citvas
Registered: May, 2007

Writing a check for consistency check of properties file Posted: May 1, 2007 6:44 AM
Reply to this message Reply
Advertisement
Hi,

I have written my own check extending AbstractFileSetCheck class. The code actually should read all files with extension as ".properties" present in the project directory and do some checks and throw appropriate checkstyle warnings.

In my checkclass "PropetiesCheck", i have actually overridden process(File[] afile) method to read a properties file to do necessary check. Now i am not sure what files will the process() method take as input.

I have actually added this check as module under the "Checker" module in the configuration XML file.

But now after integrating the check into my project, i dont get any checkstyle violation messages which is expected. (eventhough i dont get any build errors)

Can someone please help me by sending some info on
process() method and what files it takes as input, when i extend AbstractFileSetCheck in my check and override
process() method?

Topic: Writing a check for consistency check of properties file Previous Topic   Next Topic Topic: HELP

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use