From 34cfd3f92302394b2fc6d743a0241c0b64d18811 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 16 Sep 2009 08:48:40 +0000 Subject: [PATCH] re-generate site git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@815672 13f79535-47bb-0310-9956-ffa450edef68 --- docs/faq.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/faq.html b/docs/faq.html index 00aab64ee..d51cb5d40 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -354,6 +354,11 @@ my manifest are wrapped at 70 characters and the resulting jar does not work in my application server. Why does Ant do this? + +
  • + <exec> fails with "Cannot run + program "...":CreateProcess error=2" on + Windows.
  • Ant and IDEs/Editors

    @@ -1478,6 +1483,24 @@ shell-prompt> m4 foo.m4 > foo Do not raise a bug about this issue until you have checked to ensure that the problem is not due to your classpath specification.

    +

    + + <exec> fails with "Cannot run + program "...":CreateProcess error=2" on + Windows. +

    +

    A common problem is not having the executable on the + PATH. In case you get an error message Cannot run + program "...":CreateProcess error=2. The system cannot find + the path specified. have a look at your PATH + variable.

    +

    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 + (set PATH=%PATH%;dirOfProgram) or specify the + absolute path in the executable attribute in + your buildfile.

    Is Ant supported by my IDE/Editor?