Difference between revisions of "CI/Ant"

From OpenMBD
< CI
Jump to: navigation, search
Line 22: Line 22:
 
To summarize, the installation procedure consists of the following steps:
 
To summarize, the installation procedure consists of the following steps:
  
* Download Ant
+
<ol type="1">
* Unzip the downloaded file
+
<li> Download Ant </li>
* Set environment variables JAVA_HOME and ANT_HOME and add %ANT_HOME%/bin to the PATH variable.
+
<li> Unzip the downloaded file</li>
*
+
<li> Set the Windows Environment Variables</li>
 
+
<li> Run the following command in the command line: <i>ant -f fetch.xml -Ddest=system</i> </li>
 
+
</ol>
  
 
== Configuration ==
 
== Configuration ==
  
 
<i>Configuration Procedure</i>
 
<i>Configuration Procedure</i>

Revision as of 10:57, 31 October 2017


Back to Home

Apache-Ant-logo.png

Introduction to Ant

Ant is an open-source and free to use build automation tool for a.o. Java applications. It consists of a Java library and a command line tool which uses a build file (build.xml) to drive certain processes. Those processes can be:

  • Move/Copy files
  • Run Unit tests
  • Compile the Java source code
  • Create an executable wrapper around a jar file
  • ...and much more

The Apache Ant project is part of the Apache Software Foundation. More information can be found on the Ant website.

Installation

Ant can be downloaded in the [section] of the Ant website. Also, a complete [Apache Ant Manual] is available on their website. Please go to the [Apache Ant Manual] for the specific steps.


To summarize, the installation procedure consists of the following steps:

  1. Download Ant
  2. Unzip the downloaded file
  3. Set the Windows Environment Variables
  4. Run the following command in the command line: ant -f fetch.xml -Ddest=system

Configuration

Configuration Procedure