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.

buildAnt 1.5 kB

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # -----------------------------------------------------------------------------
  3. # buildAnt -- Build Nightly Distribution Files for ANT
  4. #
  5. # Goals:
  6. # - Create nightly distribution files of Ant, including the JAXP reference
  7. # implementation JAR files (so no extra downloads are needed), in the usual
  8. # formats
  9. # - Optionally, install these distribution files on the Jakarta web server
  10. #
  11. # Prerequisites:
  12. # - The user under which this script runs must have done a CVS "login"
  13. # for anonymous access to the Jakarta repositories
  14. # - Java Development Kit, version 1.2.2, installed and configured
  15. # (avoids compiler problems in 1.1 and 1.3 related to XML classes)
  16. # - Ant 3.1 binary distribution installed
  17. # - ANT_HOME points at this distribution directory (you can set it
  18. # in ~/.antrc)
  19. # - The "ant" script in $ANT_HOME/bin is accessible on your PATH
  20. # - Java API for XML Parsing (JAXP) 1.0 reference implementation installed
  21. # - JAXP_HOME points at this distribution directory (you can set it
  22. # in ~/.antrc)
  23. # - The "buildAnt.xml" script (from the Ant source repository) is
  24. # in the same directory that this script is.
  25. # - To execute the "install" target, you must be running on the Jakarta
  26. # server, as part of group "jakarta".
  27. #
  28. # Author: Craig R. McClanahan
  29. # Version: $Revision$ $Date$
  30. # -----------------------------------------------------------------------------
  31. . ~/.antrc
  32. ant -buildfile buildAnt.xml -Djaxp.home=$JAXP_HOME "$@"