Skip to end of metadata
Go to start of metadata

Quick start

  • Read Chapter 1-2 in 'Pragmatic Automation'.
  • Read 'Using Ant' chapter in the ant manual.
  • Set up and install ant to your development environment.

Miscellaneous Notes

  • http://ant.apache.org/
  • Follow the instructions in the ant manual under Installing Ant to configure your environment
    • basically you add ant to your PATH and set the ANT_HOME environmental variable
  • Read the Using Ant section of the manual to get a flavor for why Ant is great.
  • If you've used Unix make before, ant is roughly the same thing as a specialized tool for Java

FAQ

How do I get svn support?
See http://subclipse.tigris.org/svnant.html for an ant task that uses a JNI interface to the subversion libraries. This apparently requires the JavaHL libraries to be installed on your system.

The other option is to use <exec> to call the command-line client. Obviously this requires the command-line client to be installed.

This thread talks about the options in very superficial detail: http://marc.theaimsgroup.com/?l=ant-user&m=115330690128646.

This thread mentions an antlib option that "wraps the svn binary" and "is available in 1.6": http://marc.theaimsgroup.com/?l=ant-user&m=112606424625964

This thread mentions that the javahl option is a pain, but suggests alternatives: http://marc.theaimsgroup.com/?l=ant-user&m=112537010327411

This thread comments on support for cvschangelog: http://marc.theaimsgroup.com/?l=ant-user&m=111817885815709

Resources

Labels
  • None