build.xml:



      

<project name="Hello World Project" default="info">

<property file="build.properties"/>

<target name="info">

<echo>Apache Ant version is ${ant.version} - You are at ${sitename} </echo>

</target>

</project>
Copy the code

Build.properties contents:


# The Site Name

sitename=www.sap.com

buildversion=3.3.2
Copy the code

Output: