You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

feedback.html 3.7 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="en-us">
  18. <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
  19. <title>Apache Ant User Manual - Feedback</title>
  20. </head>
  21. <body>
  22. <h1><a name="feedback">Feedback</a> and Troubleshooting</h1>
  23. <p>If things do not work, especially simple things like <tt>ant -version</tt>,
  24. then something is wrong with your configuration. Before filing bug reports and
  25. emailing all the ant mailing lists</p>
  26. <ol>
  27. <li>Check your environment variables. Are ANT_HOME and JAVA_HOME correct? If
  28. they have quotes or trailing slashes, remove them.</li>
  29. <li>Unset CLASSPATH; if that is wrong things go horribly wrong. Ant does not
  30. need the CLASSPATH variable defined to anything to work.</li>
  31. <li>Make sure there are no versions of crimson.jar or other XML parsers in JRE/ext</li>
  32. <li>Is your path correct? is Ant on it? What about JDK/bin? have you tested
  33. this? If you are using Jikes, is it on the path? A createProcess error (especially
  34. with ID=2 on windows) usually means executable not found on the path.</li>
  35. <li>Which version of ant are you running? Other applications distribute a copy
  36. -it may be being picked up by accident.</li>
  37. <li>If a task is failing to run is optional.jar in ANT_HOME/lib? Are there any
  38. libraries which it depends on missing?</li>
  39. <li>If a task doesn't do what you expect, run <tt>ant -verbose</tt> or <tt>ant
  40. -debug</tt> to see what is happening</li>
  41. </ol>
  42. <p>If you can't fix your problem, start with the <a href="http://ant.apache.org/mail.html" target="_top">Ant
  43. User Mailing List</a> . These are other ant users who will help you learn to
  44. use ant. If they cannot fix it then someone may suggest filing a bug report,
  45. which will escalate the issue. Remember of course, that support, like all open
  46. source development tasks, is voluntary. If you haven't invested time in helping
  47. yourself by following the steps above, it is unlikely that anyone will invest
  48. the time in helping you. </p>
  49. <p>Also, if you don't understand something, the <a href="http://ant.apache.org/mail.html" target="_top">Ant
  50. User Mailing List</a> is the place to ask questions. Not the developer list,
  51. nor the individuals whose names appears in the source and documentation. If
  52. they answered all such emails, nobody would have any time to improve ant. </p>
  53. <p>To provide feedback on this software, please subscribe to the <a href="http://ant.apache.org/mail.html" target="_top">Ant
  54. User Mailing List</a> </p>
  55. <p>If you want to contribute to Ant or stay current with the latest
  56. development, join the
  57. <a href="http://ant.apache.org/mail.html" target="_top">Ant Development Mailing List</a>
  58. </p>
  59. <p>A searchable archive can be found at <a
  60. href="http://marc.theaimsgroup.com" target="_top">http://marc.theaimsgroup.com</a>.
  61. Other archives will be documented online at <a href="http://ant.apache.org/mail.html#Archives" target="_top">Mailing Lists Archives</a> </p>
  62. </body>
  63. </html>