ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r815669 - in /ant/core/trunk: docs/manual/CoreTasks/exec.html xdocs/faq.xml
Date Wed, 16 Sep 2009 08:46:03 GMT
Author: bodewig
Date: Wed Sep 16 08:46:03 2009
New Revision: 815669

URL: http://svn.apache.org/viewvc?rev=815669&view=rev
Log:
steal 'CreateProcess error=2' text from manual and add it to the FAQ

Modified:
    ant/core/trunk/docs/manual/CoreTasks/exec.html
    ant/core/trunk/xdocs/faq.xml

Modified: ant/core/trunk/docs/manual/CoreTasks/exec.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/exec.html?rev=815669&r1=815668&r2=815669&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/exec.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/exec.html Wed Sep 16 08:46:03 2009
@@ -75,7 +75,7 @@
 <p>A common problem is not having the executable on the PATH. In case you get an error
 message <tt>Cannot run program "...":CreateProcess error=2. The system cannot find
 the path specified.</tt> have a look at your PATH variable. Just type the command directly
on
-the command line and if Windows find it, Ant should do it too. (Otherwise ask on the user
mailinglist for help.) If Windows can not execute the program add the directory of the programm
+the command line and if Windows finds it, Ant should do it too. (Otherwise ask on the user
mailinglist for help.) If Windows can not execute the program add the directory of the programm
 to the PATH (<tt>set PATH=%PATH%;dirOfProgram</tt>) or specify the absolute path
in the
 <tt>executable</tt> attribute in your buildfile.
 </p>

Modified: ant/core/trunk/xdocs/faq.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/xdocs/faq.xml?rev=815669&r1=815668&r2=815669&view=diff
==============================================================================
--- ant/core/trunk/xdocs/faq.xml (original)
+++ ant/core/trunk/xdocs/faq.xml Wed Sep 16 08:46:03 2009
@@ -1051,6 +1051,27 @@
       </answer>
     </faq>
 
+    <faq id="CreateProcess_error_2">
+      <question><code>&lt;exec&gt;</code> fails with <code>"Cannot
run
+          program "...":CreateProcess error=2"</code> on
+        Windows.</question>
+      <answer>
+
+        <p>A common problem is not having the executable on the
+          PATH. In case you get an error message <code>Cannot run
+          program "...":CreateProcess error=2. The system cannot find
+            the path specified.</code> have a look at your PATH
+          variable.</p>
+
+        <p>Just type the command directly on the command line and if
+          Windows finds it, Ant should do it too. (Otherwise ask on
+          the user mailinglist for help.) If Windows can not execute
+          the program add the directory of the programm to the PATH
+          (<code>set PATH=%PATH%;dirOfProgram</code>) or specify the
+          absolute path in the <code>executable</code> attribute in
+          your buildfile.</p>
+      </answer>
+    </faq>
   </faqsection>
 
   <faqsection title="Ant and IDEs/Editors">



Mime
View raw message