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:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 9:21 AM
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to