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.

README 2.6 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. A N T
  2. What is it?
  3. -----------
  4. Ant is a Java based build tool. In theory it is kind of like "make"
  5. without makes wrinkles and with the full portability of pure java code.
  6. Why?
  7. ----
  8. Why another build tool when there is already make, gnumake, nmake, jam,
  9. and others? Because all of those tools have limitations that its original
  10. author couldn't live with when developing software across multiple platforms.
  11. Make-like tools are inherently shell based. They evaluate a set of
  12. dependencies and then execute commands not unlike what you would issue on a
  13. shell. This means that you can easily extend these tools by using or writing
  14. any program for the OS that you are working on. However, this also means that
  15. you limit yourself to the OS, or at least the OS type such as Unix, that you
  16. are working on.
  17. Makefiles are inherently evil as well. Anybody who has worked on them for any
  18. time has run into the dreaded tab problem. "Is my command not executing
  19. because I have a space in front of my tab!!!" said the original author of Ant
  20. way too many times. Tools like Jam took care of this to a great degree, but
  21. still use yet another format to use and remember.
  22. Ant is different. Instead a model where it is extended with shell based
  23. commands, it is extended using Java classes. Instead of writing shell
  24. commands, the configuration files are XML based calling out a target tree
  25. where various tasks get executed. Each task is run by an object which
  26. implements a particular Task interface.
  27. Granted, this removes some of the expressive power that is inherent by being
  28. able to construct a shell command such as `find . -name foo -exec rm {}` but
  29. it gives you the ability to be cross platform. To work anywhere and
  30. everywhere. And hey, if you really need to execute a shell command, Ant has
  31. an exec rule that allows different commands to be executed based on the OS
  32. that it is executing on.
  33. The Latest Version
  34. ------------------
  35. Details of the latest version can be found on the Apache Jakarta
  36. Project web site <http://jakarta.apache.org/>.
  37. Documentation
  38. -------------
  39. Documentation is available in HTML format, in the docs/ directory.
  40. Licensing
  41. ---------
  42. This software is licensed under the terms you may find in the file
  43. named "LICENSE" in this directory.
  44. Thanks for using Ant.
  45. The Apache Jakarta Project
  46. <http://jakarta.apache.org/>