ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciej Zawadzki" <...@urbancode.com>
Subject RE: reference on project name
Date Thu, 23 May 2002 13:33:06 GMT
Marc,

The fragment below should do what you need.  You can also use the
${ant.project.name} directly.

    <property name="app.name" value="${ant.project.name}"/>

--Maciej






> -----Original Message-----
> From: Marc Logemann [mailto:devlists@logemann.info]
> Sent: Thursday, May 23, 2002 9:21 AM
> To: ant-user@jakarta.apache.org
> Subject: reference on project name
>
>
> Hi,
>
> is there a chance to reference to a projectname <project
> name="foo"> inside the buildfile?
> Meaning i dont want to code an extra property app.name, but use
> the project attribute instead
> inside my build file.
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message