ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weiqi Gao <weiqi...@networkusa.net>
Subject Re: Built-in properties
Date Tue, 27 Mar 2001 01:21:28 GMT
On 26 Mar 2001 14:53:19 -0500, Rich Bagley wrote:
> Hi,
> 
>   I'm trying to use the "ant.project.name" built-in property without success
> (the others work).  Am I doing something wrong or is this property obsolete?

Try:

<project name="my-project" default="echo">
  <target name="echo">
    <echo message="${ant.project.name}"/>
  </target>
</project>

-- 
Weiqi Gao
weiqigao@networkusa.net


Mime
View raw message