"antlibs" containing Ant tasks and types, and are offeredĪ large number of ready-made commercial or open-source "antlibs".Īnt is extremely flexible and does not impose coding conventions orĭirectory layouts to the Java projects which adopt it as a build tool. Pilot any type of process which can be described in terms of targetsĪnt is written in Java. The main known usage of Ant is the build of Java applications.Īnt supplies a number of built-in tasks allowing to compile, assemble,Īnt can also be used effectively to build non Java applications, for Mission is to drive processes described in build files as targetsĪnd extension points dependent upon each other. Where you installed Ant: ANT_HOME=/ apache-install-dir/apache-ant-1.7.0Apache Ant is a Java library and command-line tool whose bash_profile fileĪdd the following lines to the file, substituting the directory Settings and make sure they are pointing to the correct directory locations. If you do not see an error message, check the environment variable If a Build not found error message appears, To test the setting, type ant at a command Set the variable name to ANT_OPTS and the variableĪdd %ANT_HOME%\bin to the end or beginning Select New again to create the ANT_OPTS environment Value to apache-install-dir \apache-ant-1.7.0 and click OK. Set the variable name to ANT_HOME and the variable Under System Variables, select New to create the ANT_HOME environment Go to Advanced, and then click the Environment Variables button. Go to Start -> Control Panel, and double-click the System icon. You then need to set the ANT_HOME environment variable to add binaries to your PATH. You can download the latest versionĭownloading, uncompress the archive into a folder. Developing With Apache Ant 1.7.0 or AboveĪpache Ant is a build tool that is used extensively by both the Liferay
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |