title: How can I incorpoarte Fortify Scan Analyzer with Apache Ant in a Unix Makefile?
body: <p>I am currently trying to add Fortify Scan Analyzer to Apache Ant build written in a Makefile. So far, the Makefile looks like:</p>
  
  <p><code>default: foo.jar temp.jar bar.jar
      @ant jar-fake</code></p>
  
  <p>In the documentation for Fortify in Chapter 13: Integration into Build, it has a section on Ant Integration. It simply states:</p>
  
  <p>"To use the Ant integration, make sure that the sourceanalyzer executable is on the system PATH.
  Prepend your Ant command-line with the sourceanalyzer command as follows:</p>
  
  <p><code>sourceanalyzer -b &lt;build_id&gt; ant [&lt;ant_options&gt;]</code>"</p>
  
  <p>This does not work. </p>
  
  <p>I have also tried the Touchless Build Intergration option:
  "Fortify Static Code Analyzer includes a generic build tool called touchless that enables translation of
  projects using build systems that Fortify Static Code Analyzer does not directly support. The commandline syntax for touchless build integration is:</p>
  
  <p><code>sourceanalyzer -b &lt;build_id&gt; touchless &lt;build_command&gt;</code> "</p>
  
  <p>This also does not work. It only works outside of a Makefile. </p>
  
  <p>I need a way to incorporate the Fortify Scan Analyzer in the Makefile working with Ant. </p>
  
  <p>Thank you! </p>