SET UNIX HOME DIR PROPERTY using ANT

set-unix-home-dir-property-using-ant
Spread the Knowledge

set-unix-home-dir-property-using-ant

Set properties HOMEDIR in build.xml which will be set through user logged in the current system..

Example:

<project name=”test” default=”myhome”>

    <property environment=”env”/>

    <target name=”myhome”>

        <echo message=”My home is ${env.HOME}”/>

    </target>

</project>

Rajesh Kumar
Latest posts by Rajesh Kumar (see all)