![]() ![]() PrevChapter 3.Your output should look something like this:Īpache Ant version 1.7.0 compiled on December 13 2006 To do this type ant -version at the command prompt. 2.jar(hadoopJDK8mavenant protobuf) 1hadoop-2.7. 2jdk-8u201-linux-圆4.tar.gz 3apache-ant-1.9. 4apache-maven-3.0. 5protobuf-2.5.0.tar.gz 5.2 jar. Add a semicolon and the path to the ant bin directory. On Windows you do this by opening the Control Panel from the Start Menu, switching it to classic view if necessary, then editing the PATH environment variable found in System/Advanced/Environment Variables/System Variables/Path. You can do this by adding the following line to your. Instead of writing shell commands, the configuration files are XML-based, calling out a target tree where various tasks get executed. Instead of a model where it is extended with shell-based commands, Ant is extended using Java classes. In theory, it is kind of like make, but without make 's wrinkles. Create a new variable, call it ANT_HOME and set it to be the ant directory.Īdd $ANT_HOME/bin to the system path to be able to run ant from the command line. Introduction to Apache Ant The Apache Ant package is a Java-based build tool. ![]() On Windows you do this by opening the Control Panel from the Start Menu, switching it to classic view if necessary, then opening System/Advanced/Environment Variables. bashrc file (substituting with the actual location of the ant directory on your system):Įxport ANT_HOME=/home/user/apache-ant-1.7.0 Unzip the downloaded file to the directory of your choice.Ĭreate an environment variable called ANT_HOME pointing to the Ant installation directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |