next up previous contents index
Next: Environment Variables Up: Running Ant Previous: Examples   Contents   Index

Files

The Ant wrapper script for Unix will source (read and evaluate) the file /.antrc before it does anything. On Windows, the Ant wrapper batch-file invokes %HOME%${\backslash}$antrc_pre.bat at the start and %HOME%${\backslash}$antrc_post.bat at the end. You can use these files, for example, to set/unset environment variables that should only be visible during the execution of Ant. See the next section for examples.



Andrew Marlow 2003-07-08