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.9 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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&mdash;Feedback</title>
  20. </head>
  21. <body>
  22. <h1 id="feedback">Feedback and Troubleshooting</h1>
  23. <p>If things do not work, especially simple things like <kbd>ant -version</kbd>, then something is
  24. wrong with your configuration. Before filing bug reports and emailing all the Apache Ant mailing
  25. lists</p>
  26. <ol>
  27. <li>Check your environment variables. Are <code>ANT_HOME</code> and <code>JAVA_HOME</code>
  28. correct? If they have quotes or trailing slashes, remove them.</li>
  29. <li>Unset <code>CLASSPATH</code>; if that is wrong things go horribly wrong. Ant does not need
  30. the <code>CLASSPATH</code> variable defined to anything to work.</li>
  31. <li>Make sure there are no versions of <samp>crimson.jar</samp> or other XML parsers
  32. in <samp>JAVA_HOME/jre/lib/ext</samp></li>
  33. <li>Is your path correct? is Ant on it? What about <samp>JAVA_HOME/bin</samp>? have you tested
  34. this? If you are using Jikes, is it on the path? A CreateProcess error (especially
  35. with <code>error=2</code>) on Windows usually means executable not found on the path.</li>
  36. <li>Which version of ant are you running? Other applications distribute a copy&mdash;it may be
  37. being picked up by accident.</li>
  38. <li>If a task failing to run is from <samp>optional.jar</samp> in <samp>ANT_HOME/lib</samp>? Are
  39. there any libraries which it depends on missing?</li>
  40. <li>If a task doesn't do what you expect, run <kbd>ant -verbose</kbd> or <kbd>ant -debug</kbd>
  41. to see what is happening</li>
  42. </ol>
  43. <p>If you can't fix your problem, start with the <a href="https://ant.apache.org/mail.html"
  44. target="_top">Ant User Mailing List</a>. These are other ant users who will help you learn to use
  45. ant. If they cannot fix it then someone may suggest filing a bug report, which will escalate the
  46. issue. Remember of course, that support, like all open source development tasks, is voluntary. If
  47. you haven't invested time in helping yourself by following the steps above, it is unlikely that
  48. anyone will invest the time in helping you.</p>
  49. <p>Also, if you don't understand something, the <a href="https://ant.apache.org/mail.html"
  50. target="_top">Ant User Mailing List</a> is the place to ask questions. Not the developer list, nor
  51. the individuals whose names appears in the source and documentation. If they answered all such
  52. emails, nobody would have any time to improve Ant.</p>
  53. <p>To provide feedback on this software, please subscribe to
  54. the <a href="https://ant.apache.org/mail.html" target="_top">Ant User Mailing List</a></p>
  55. <p>If you want to contribute to Ant or stay current with the latest development, join
  56. the <a href="https://ant.apache.org/mail.html" target="_top">Ant Development Mailing List</a></p>
  57. <p>A searchable archive can be found at <a href="https://marc.info"
  58. target="_top">https://marc.info</a>. Other archives will be documented online
  59. at <a href="https://ant.apache.org/mail.html#Archives" target="_top">Mailing Lists
  60. Archives</a></p>
  61. </body>
  62. </html>