title: How to pass parameter to ant scripts?
body: <p>Recently I am working on selenium webdriver 2.0 (developing automation framework). As per requirement for every faiulre the screenshot must be capture (file path and filename: ./screenshots/testcases/ddmmyyyy/scenario_hhmmss.png) however I already capture screenshots. when i run these entire test suite (I want to generate JUNIT report such that the repost must have screenshot link.)Now problem is that the screenshot path is generate dynamically (By selenium java code), and in Junit report i want to establish hyperlink to recently generated screenshots (i already updated frames-report.xslt file using we can create link but it was hardcoded)? Please suggest any way to do so?</p>
  
  <p>Here is some part of my build.xml file</p>
  
  <pre><code>&lt;target name="exec" depends="compile"&gt;
          &lt;delete dir="${report}" /&gt;
      &lt;mkdir dir="${report}" /&gt;
          &lt;mkdir dir="${report}/xml" /&gt;
      &lt;junit printsummary="yes" haltonfailure="no"&gt;
           &lt;classpath refid="project-classpath" /&gt;
          &lt;classpath&gt;
                          &lt;pathelement location="${bin}" /&gt;
                          &lt;fileset dir="${lib}"&gt;
                              &lt;include name="**/*.jar" /&gt;
                          &lt;/fileset&gt;
                      &lt;/classpath&gt;
          &lt;test name="com.example.tests.NormanTestSuite" haltonfailure="no" todir="${report}/xml" outfile="TEST-result"&gt;          
          &lt;formatter type="xml" /&gt;
          &lt;/test&gt;         
      &lt;/junit&gt;
      &lt;junitreport todir="${report}"&gt;
              &lt;fileset dir="${report}/xml"&gt;
                  &lt;include name="TEST*.xml" /&gt;
              &lt;/fileset&gt;
      &lt;report styledir="C:\apache-ant-1.8.4\custom" format="frames" todir="${report}/html" &gt;          
      &lt;/report&gt;
      &lt;/junitreport&gt;
  &lt;/target&gt;
  </code></pre>