ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Davies <JDav...@Ceon.com>
Subject RE: project name
Date Tue, 13 Feb 2001 17:39:47 GMT
Yes you can. There is a built in property called ant.project.name that
contains the info you need. Refer to it as ${ant.project.name}.

- Jeff

-----Original Message-----
From: Frank Chang [mailto:FChang@ware2.com]
Sent: Tuesday, February 13, 2001 9:37 AM
To: ant-user@jakarta.apache.org
Subject: project name


Can you reference the project name as a property in Ant? 
<project name="abc" default="all"> 
.. 
    // get 'abc.properties' ????? 
    <property file="${???}.properties"/> 
... 
</project> 
Thanks in advance. 

Mime
View raw message