Typically, in the directory we will find bin folder contains all launcher scripts, lib contains ant jars and necessary dependencies, manual contains documentation and etc contains xsl goodies. To know more about ant, you may see the extracted directory of ant. So, we are done, ANT is installed in the system. Installing Apache Ant If a JDK is not present, only the JRE runtime, then many tasks will not work. It will install dependent libraries which are needed for running ant properly. Ant is a Java-based build tool and therefore requires a Java Runtime. To do that, run this command in command prompt. Ant is an open source project within the Apache Software Foundations suite of products. Steps to Install and Configure Apache Ant on Ubuntu 20.04 LTS Focal Fossa 1. And, we need to run the fetch.xml stored dependencies. To do that, open command prompt, then change directory to extracted location of ant. Check out this tutorial: How to install Java on Centos 8. So it’s necessary to install java before proceeding. To run properly, we might need to install dependent libraries. Install Java on CentOS 8 Apache Ant is built with Java technology. To know, how to insert java_home, you may see my this post. We have to ensure that JAVA_HOME should in the path variable as ant will use that. Now, We have ant installed in the system. Now, double click on path variable to edit, add %ANT_HOME%\bin (to add, you need to use semi colon ( )as separator) at the end (or any position) of path variable, press ok. Now, click new and add ANT_HOME as variable name and the location as variable value(in my case D:\apache-ant-1.9.3), press ok. Step 3: Insert extracted location in the system variable.įrom my computer(right click) properties -> click advance system properties -> Advance -> Environment variable. I have used latest build(1.9.3), you can use old builds also. Step 1 : Download necessary installer from this link. However, it is a good idea to modify the bash profile so that Apache Ant is available from any directory and not from where it is copied. Once the download is complete, unzip it and move it to /usr/local/. I will to keep the step in generalizing form so that if we follow same method, we should be able to install in all other operation systems. Download Apache Ant on OpenSUSE 15.2 / 15.1. In this article we are going to see how can we install Apache Ant in our windows7 PC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |