title: how can i use alertbox concept of javascript in ant script
body: <p>i m using like following for generating alertbox in ant script.</p>
  
  <pre><code>&lt;target name="javascript"&gt;
          &lt;script language="javascript"&gt;
  &lt;![CDATA[   
  importPackage(java.lang);           
  alert("I am alert menu!");
  &lt;/script&gt;           
  ]]&gt;        
  &lt;/target&gt;
  </code></pre>
  
  <p>but it's not working. showing following error</p>
  
  <blockquote>
    <p>javax.script.ScriptException:
    sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "alert"
    is not defined. (#4) in  at line
    number 4</p>
  </blockquote>
  
  <p>pls anyone help me out.</p>