Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Ant’s built-in properties – Ant Properties Guide

Spread the Knowledge


This is a simple example that illustrates how to find the basedir name, file name, project name, ant version, java version, operating system name, ant home directory name, java home directory name, user home directory name and user name. Ant provides you with certain built-in properties that you may find useful during your build process. The following table shows the property name and it’s description.


Ant’s built-in properties:

Property                                                              Description


ant.file                                                                  The absolute path of the build file                                            The name of the project as set in the <project> element’s name attribute.


ant.home                                                            The root directory of ant


ant.version                                                         The version of this ant installation. This is not just the version number and includes information such as the compilation date.                                               The version of the java that ant uses


basedir                                                                 The absolute path of the project                                                              Operating system name


java.home                                                          Java home directory name


user.home                                                          User directory name                                                          User name                         



Example Program:

<?xml version=”1.0″?>


<project name=”AntProperties” default=”echo” basedir=”.”>


  <target name=”echo”>

  <echo message=”The operating system is: ${}”/> 


  <!– absolute path of the project. –>

  <echo message=”The home path is: ${basedir}”/>


  <!– absolute path of the build file. –>

  <echo message=”The file name is: ${ant.file}”/>


  <!– root directory of ant. –>

  <echo message=”The Project name is: ${}”/>

  <echo message=”The Ant home directory is: ${ant.home}”/>

  <echo message=”The Ant version is: ${ant.version}”/>

  <echo message=”The Java version is: ${}”/>


  <!– System properties. –>

  <echo message=”The Java home directory is: ${java.home}”/>

  <echo message=”The User home directory is: ${user.home}”/>

  <echo message=”The User name is: ${}”/>





Rajesh Kumar
Latest posts by Rajesh Kumar (see all)
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x