Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta name="copyright" content=
    "Copyright (c) IBM Corporation and others 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
    <meta http-equiv="Content-Type" content=
    "text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="stylesheet" href="../../../apache_style.css" type=
    "text/css" />
    <title>
      API Tools Analysis Report Conversion Ant Task
    </title>
    <script language="JavaScript" src=
    "PLUGINS_ROOT/org.eclipse.help/livehelp.js" type=
    "text/javascript">

</script>
  </head>
  <body>
    <h1>
      API Use Scan Problems Report Conversion Ant Task
    </h1>
    <h2>
      Purpose
    </h2>

    <p>
      This task converts XML reports created by the
      <code>apitooling.apiusescanproblems</code> Ant task into HTML
      files.
    </p>
    <h2>
      Usage
    </h2>
    <h3>
      Description
    </h3>

    <p>
      The name of the Ant task is:
      <code>apitooling.apiusescanproblem_reportconversion</code>.
      To be used, the jar file <code>apitooling-ant.jar</code> has
      to be on the Ant classpath.
    </p>
    <div class="c4">
      <pre class="c3">
<b><span class=
"c2">&lt;apitooling.apiusescanproblem_reportconversion
	xmlfiles=<span class="c1">"..."</span>
	htmlfiles=<span class="c1">"..."</span>
	debug=<span class="c1">"..."</span>
/&gt;</span></b>
</pre>
    </div>
    <h3>
      Parameters
    </h3>

    <table border="1" cellpadding="2" cellspacing="0">
      <tr>
        <td valign="top">
          <b>Attribute</b>
        </td>
        <td valign="top">
          <b>Description</b>
        </td>

        <td align="center" valign="top">
          <b>Required</b>
        </td>
      </tr>
      <tr>
        <td valign="top">
          xmlfiles
        </td>
        <td valign="top">

          Set the location where the xml reports are
          retrieved.<br />
          <br />
          The location is set using an absolute path.
        </td>
        <td align="center" valign="top">
          Yes
        </td>
      </tr>
      <tr>

        <td valign="top">
          htmlfiles
        </td>
        <td valign="top">
          Set the location where the html reports are
          generated.<br />
          <br />
          If not set, the html files are created in the same folder
          as the xml files.<br />
          <br />

          The location is set using an absolute path.
        </td>
        <td align="center" valign="top">
          No
        </td>
      </tr>
      <tr>
        <td valign="top">
          debug
        </td>

        <td valign="top">
          Set the debug value.<br />
          <br />
          The possible values are: <code>true</code>,
          <code>false</code><br />
          Default is <code>false</code>.
        </td>

        <td align="center" valign="top">
          No
        </td>
      </tr>
    </table>
    <h3>
      Examples
    </h3>
    <pre>
 <b><span class="c2">&lt;apitooling.analysis_reportconversion
  xmlfiles=<span class="c1">"D:\reports\xml"</span>

  htmlfiles=<span class="c1">"D:\reports\html"</span>
  debug=<span class="c1">"true"</span>
 /&gt;</span></b>
</pre>
    <p>
      This will create an <code>index.html</code> inside the folder
      <code>D:\reports\html</code>. A report for each bundle will
      be created inside a sub-folder of
      <code>D:\reports\html</code>. Each sub-folder will contain a
      <code>report.html</code>.
    </p>

    <p>
      Since debug is enabled, some debug tracing will show up in
      the Ant console.
    </p>
    <p>
      <img src="../../../images/ngrelr.png" alt="Related reference"
      border="0" />
    </p>
    <p>
      <a href="apiusescan-problems-ant-task.htm">API Use Scan
      Problems Ant Task</a><br />
      <a href="analysis-ant-task.htm">Analysis Ant Task</a><br />

      <a href="filegeneration-ant-task.htm">File Generation Ant
      Task</a><br />
      <a href="apiuse-ant-task.htm">API Use Ant Task</a><br />
      <a href="apifreeze-ant-task.htm">API Freeze Ant
      Task</a><br />
      <a href="apifreeze-reportconversion-ant-task.htm">API Freeze
      Report Conversion Ant Task</a><br />
      <a href="deprecation-ant-task.htm">API Deprecation Ant
      Task</a><br />
      <a href="deprecation-reportconversion-ant-task.htm">API
      Deprecation Report Conversion Ant Task</a><br />

      <a href="apiuse-reportconversion-ant-task.htm">API Use Report
      Conversion Ant Task</a>
    </p>
  </body>
</html>
New to GrepCode? Check out our FAQ X