detroitkmfk.blogg.se

Apache ant access environment variables
Apache ant access environment variables










To make Ant use a build file other than build.xml, use the command-line option -buildfile file, where file is the name of the build file you want to use (or a directory containing a build.xml file). When no arguments are specified, Ant looks for a build.xml file in the current directory and, if found, uses that file as the build file and runs the target specified in the default attribute of the tag. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks. Ant can also be used effectively to build non Java applications, for instance C or C++ applications.

apache ant access environment variables

Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. The main known usage of Ant is the build of Java applications. ]] DescriptionĪpache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Execute all targets that do not depend on fail target(s): ant -kĪnt.Print information on possible targets for this project: ant -p.Build a project using build file other than build.xml: ant -f buildfile.xml.Build a project with default build file build.xml: ant.












Apache ant access environment variables