ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/xdocs faq.xml
Date Mon, 23 Sep 2002 12:50:07 GMT
bodewig     2002/09/23 05:50:07

  Modified:    docs     faq.html
               xdocs    faq.xml
  Log:
  Create FAQ on the Ant 1.4, Windows XP, JDK 1.4 problem and mention the
  workaround confirmed by Curt Wilhelm.
  
  Revision  Changes    Path
  1.37      +33 -0     jakarta-ant/docs/faq.html
  
  Index: faq.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/faq.html,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- faq.html	23 Sep 2002 12:13:11 -0000	1.36
  +++ faq.html	23 Sep 2002 12:50:07 -0000	1.37
  @@ -298,6 +298,12 @@
     <style> or <junit> ignores my
         <classpath>
     </a></li>
  +                    <li><a href="#winxp-jdk14-ant14">
  +  When running Ant 1.4 on Windows XP and JDK 1.4, I get
  +      various errors when trying to <code>&lt;exec&gt;</code>, fork
  +      <code>&lt;java&gt;</code> or access environment
  +      variables.
  +  </a></li>
                       <li><a href="#1.5-cygwin-sh">
     The <code>ant</code> wrapper script of Ant 1.5 fails
         for Cygwin if <code>ANT_HOME</code> is set to a Windows style
  @@ -2036,6 +2042,33 @@
           for <code>&lt;junit&gt;</code>, you still have to use a
           <code>&lt;taskdef&gt;</code> with a nested
           <code>&lt;classpath&gt;</code> to define the junit task.</p>
  +                        </blockquote>
  +    </td></tr>
  +  </table>
  +  </a>
  +        <a name="winxp-jdk14-ant14">
  +  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  +    <tr><td bgcolor="#828DA6">
  +      <font color="#ffffff" face="arial,helvetica,sanserif">
  +        <strong>
  +          When running Ant 1.4 on Windows XP and JDK 1.4, I get
  +      various errors when trying to <code>&lt;exec&gt;</code>, fork
  +      <code>&lt;java&gt;</code> or access environment
  +      variables.
  +        </strong>
  +      </font>
  +    </td></tr>
  +    <tr><td>
  +      <blockquote>
  +                              <p>Ant &lt; 1.5 doesn't recognize Windows XP as
a flavor
  +        of Windows that runs <code>CMD.EXE</code> instead of
  +        <code>COMMAND.COM</code>.  JDK 1.3 will tell Ant that Windows
  +        XP is Windows 2000 so the problem doesn't show up
  +        there.</p>
  +                                        <p>Apart from upgrading to Ant 1.5 or better,
setting the
  +        environment variable <code>ANT_OPTS</code> to
  +        <code>-Dos.name=Windows_NT</code> prior to invoking Ant has
  +        been confirmed as a workaround.</p>
                           </blockquote>
       </td></tr>
     </table>
  
  
  
  1.22      +21 -0     jakarta-ant/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/xdocs/faq.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- faq.xml	30 Jul 2002 15:00:40 -0000	1.21
  +++ faq.xml	23 Sep 2002 12:50:07 -0000	1.22
  @@ -1089,6 +1089,27 @@
         </answer>
       </faq>
   
  +    <faq id="winxp-jdk14-ant14">
  +      <question>When running Ant 1.4 on Windows XP and JDK 1.4, I get
  +      various errors when trying to <code>&lt;exec&gt;</code>, fork
  +      <code>&lt;java&gt;</code> or access environment
  +      variables.</question>
  +
  +      <answer>
  +
  +        <p>Ant &lt; 1.5 doesn&apos;t recognize Windows XP as a flavor
  +        of Windows that runs <code>CMD.EXE</code> instead of
  +        <code>COMMAND.COM</code>.  JDK 1.3 will tell Ant that Windows
  +        XP is Windows 2000 so the problem doesn&apos;t show up
  +        there.</p>
  +
  +        <p>Apart from upgrading to Ant 1.5 or better, setting the
  +        environment variable <code>ANT_OPTS</code> to
  +        <code>-Dos.name=Windows_NT</code> prior to invoking Ant has
  +        been confirmed as a workaround.</p>
  +      </answer>
  +    </faq>
  +
       <faq id="1.5-cygwin-sh">
         <question>The <code>ant</code> wrapper script of Ant 1.5 fails
         for Cygwin if <code>ANT_HOME</code> is set to a Windows style
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message