<project default="build" basedir=".">
    <target name="build">
        <echo message="MY_VAR='${MY_VAR}'" />
    </target>
</project>