title: How to generate Ant and Maven build files for an Eclipse Java project?
body: <p>I have a project which is released like this:</p>
  
  <ul>
  <li>Export from Eclipse as a jar file.</li>
  <li>Package it with exe4j into an EXE file.</li>
  </ul>
  
  <p>Now I am using some static code analysis tool which requires the project to be built with ant or maven.</p>
  
  <p>It seems both Ant and Maven relies on some build file, so how can I generate it from my Eclipse project?</p>
  
  <p>I tried Eclipse <code>Export -&gt; Ant Buildfile</code>, but the exported buildfile seems still relies on <strong>Eclipse built-in builder</strong>.</p>
  
  <p>Maybe I am wrong but my understanding about a builder server should comprise:</p>
  
  <ul>
  <li>Ant</li>
  <li>JDK</li>
  <li>Source code to be built</li>
  </ul>
  
  <p>Whenever a new source is checked in, Ant can be launched to build the source with JDK. No eclipse should be involved.</p>
  
  <p>I am new to this. Please shed some light.</p>