title: Eclipse java/ant checkstyle issue
body: <p>While working on a project I need to format my Java code in a specific manner.
  If it is not formatted in correct way, the build will create problems:</p>
  
  <p><strong>Correct way:</strong></p>
  
  <pre><code>public static void main(String[] args)
  {
    // Code
  }
  </code></pre>
  
  <p><strong>Incorrect way: //Check the braces</strong></p>
  
  <pre><code>public static void main (String[] args) {
    //code
  }
  </code></pre>
  
  <p>Does any one know for this purpose, which checkstyle should be used/configured in Eclipse?</p>