lopbenefits.blogg.se

Where we use apache ant
Where we use apache ant





  1. WHERE WE USE APACHE ANT INSTALL
  2. WHERE WE USE APACHE ANT FULL

We create the hello subdirectory in the home directory (to do this, Linux has the mkdir command) and save the file containing the above script with a name build.xml.

where we use apache ant

If we see a similar message – everything is OK. We check the operability by calling ant in the command line:Īpache Ant(TM) version 1.10.1 compiled on February 2 2017 We have version 1.7.1 in the CentOS 6.8 repository, so it's better to use this script, which is offered in the previous article. Important: we need a version no lower than 1.8.*.

WHERE WE USE APACHE ANT INSTALL

Using Ant is the same for both fLinux and Windows.Īnt can easily be installed from the repository using a command like sudo apt-get install ant (replace apt-get on yum if necessary). Build scripts and Java examples have been tested in Linux (Simply Linux 7.95.0, CentOS Linux 6.8) and Windows (XP/7). We need the Java SE Development Kit (JDK, you can download it from ), your favorite text editor (in Linux we can use vi/vim/gedit, for Windows I recommend Notepad++) and basic skills in the command line.

WHERE WE USE APACHE ANT FULL

  • Write a script for a full cycle of building and testing of a training project.
  • Find the minimum required list of tasks.
  • Understand the basic principles of work and the XML format of the build script.
  • We'll take five simple steps to start using Ant:

    where we use apache ant where we use apache ant

    Despite its being Java-oriented, web developers also use this tool. Ant uses a build script, which is a simple XML file. Apache Ant should be familiar to every Java programmer: this is a popular software build tool, completely written in Java.







    Where we use apache ant